I am looking for a formula that will sum a range of cells based on a certain color. I have conditional formated certain rows, and i would like a formula that sums the rows in the sheet looking for that color.
I am looking for a formula that will sum a range of cells based on a certain color. I have conditional formated certain rows, and i would like a formula that sums the rows in the sheet looking for that color.
What is the conditional formula you used?
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Well, guessing...
Try something like:
=SUMIF(A2:A100,"<="&TODAY,B2:B100)
and
=SUMIF(A2:A100,">"&TODAY,B2:B100)
these will sum values in B2:B100 based on the date in A2:A100 as it compares to Today's date.
If you just want to count cells, use COUNTIF instead, and don't include a third B2:B100 range.
Did this work for you?
I ended up doing it a different way. I had a summary column at the end of my sheet, so I used a sumproduct formula to sum every 4th row in that column. Seems to have worked. Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks