Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Problems with excel linked formulas.

$
0
0

 

Please see attachment.

I have a very complex application that outputs an excel file with colums for hours worked and translated that to percentage.

Since I dont understand much of the codes that only thing I know is that the formulas are related and 1 change in formula will change the others. 


The table should look like this but theres a major hiccup.

Lets say I have these columns and only 2 rows. The proper formula to get the percentage is  CELL C3 should have (=B3/$B$5*100) thus CELL C4 will have (=B4/$B$5*100) but since the formula cells C2:C4 are somewhat linked and related to each other the formula in C5 will have (=B5/$B$5*100) which will be pretty much cheating the system since your dividing it by itself and you will always get 100%. Its like dragging the formula downward and it will copy and increment but the only problem is it is generated by the system a single change in the formula will change the other ones. If I were to put the supposedly correct formula on CELLC5 which is (=SUM(C3:C4)) the cells in C2 and C3 will change as the one isC3 will be (=SUM(C1:C2)) C4 will be (=SUM(C2:C3)).Its kinda frustrating because the only thing that I can read in the code is the excel formula and its now even literally mapped like that. The result if I do that will be


I want to know what do you call this excel function (much like dragging it to multiple cells) and If theres a code to overwrite that relation thing. Because I want the C5 to be SUM and the others ones get the percentage.

I hope you guys could enlighten me. Thank you.

Please download this and see the cells

https://drive.google.com/file/d/0B_BpVcr-C5FBNzByc2RUelZETzg/edit?usp=sharing




Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>