Hello Forum,
I have a problem that I hope you'll be able to assist me with. I've been pulling hair out for hours over this one. :-(
I 'm currently setting up a workbook that various staff members, will be expected to populate with annual data. Most of the calculations and other IF statements work without error, but I have one column of data that is dependant on other having an entry greater than zero.
Example: If cell A2 is = 10%, then cells B2, C2, and D2 must be populated, with this total calculated in cell E2, and which must be equal to 100%. If E2 does not equal 100%, then it needs to indicate what score it is showing.
If cell A2 is blank, then cell E2 (the total cell) will equal 0, however, if cell A2 is >0, and cells B2 to D2 are blank cell E2 needs to indicate that those cells need to be populated.
I've been trying variations of the following, but nothing gives me quite what I want or I get a Name or Value error message.
=IF(A5>0,AND(ISBLANK(B5:F5)),"Complete Data",IF(A5>0,IF(SUM(B5:F5)=100,100,SUM(B5:F5))))
So, what I'm trying to say in my formula is if A5 is greater than zero, and cells B5 to F5 are blank, show the message, "complete data," but if A5 is greater than zero and B5 to F5 are not blank, then sum the data in B5 to F5, if it is equal to 100, show 100, if not, show me what the sum is. If there is no data in A5, there will be nothing in B5 to F5, so show me a zero in the total cell. The 'total' cell is where this formula is sitting.
If anyone can assist me or has a more efficient way of dealing with such a conundrum I'd be most grateful.
Thanks for your attention.
Annie
Bookmarks