Hi All
I want add cells in a row based on if a range of cells in the row are blank another range of cells in the same row will sum.
Hopefully my example is a bit clearer than my description.
Example forecast.xlsx
Thanks for your help in advance
Hi All
I want add cells in a row based on if a range of cells in the row are blank another range of cells in the same row will sum.
Hopefully my example is a bit clearer than my description.
Example forecast.xlsx
Thanks for your help in advance
hi Murrayk, welcome to the forum. how about:
=SUMPRODUCT((C2:W2="F")*(C4:W4)*(D4:X4=""))
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
An array formula
=SUM(IF((D2:W2="Costed")*ISBLANK(D4:W4)=1,C4:V4,0))
Many thanks for your promt replies , it's easy when you know how
Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
Thanks.
Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks