ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Only adding certain numbers as filled in (https://www.excelbanter.com/excel-discussion-misc-queries/222161-only-adding-certain-numbers-filled.html)

Amanda

Only adding certain numbers as filled in
 
I hope I can explain this one...

In Column M (5 through 16)- I have 12 numbers which are being compared to
their counterparts in Column S (5 through 16). However these are monthly
figures so the months that are not completed yet are blank.

I need an equation to go into C21 that will compare the total entries as
they are filled in - for example until there are 3 entries in Column S, it
will only compare the Sums of the first two cells (5 & 6) in column S to
Column M to calculate the percent difference.

Is this possible?

Jim Cone[_2_]

Only adding certain numbers as filled in
 
Data must be contiguous...
=IF(COUNT(S5:S16)COUNT(M5:M16),"Check Data",SUM(OFFSET(M5,0,0,COUNT(S5:S16),1))/SUM(S5:S16))
--
Jim Cone
Portland, Oregon USA



"Amanda"

wrote in message
I hope I can explain this one...
In Column M (5 through 16)- I have 12 numbers which are being compared to
their counterparts in Column S (5 through 16). However these are monthly
figures so the months that are not completed yet are blank.

I need an equation to go into C21 that will compare the total entries as
they are filled in - for example until there are 3 entries in Column S, it
will only compare the Sums of the first two cells (5 & 6) in column S to
Column M to calculate the percent difference.
Is this possible?


All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com