Hello everybody
I have numbers in range("A2:A" & lastrow)
In D3 I have a number which is considered the sum of some values in range("A2:A" & lastrow)
Here's an attachment to illustarte the expected results
Hello everybody
I have numbers in range("A2:A" & lastrow)
In D3 I have a number which is considered the sum of some values in range("A2:A" & lastrow)
Here's an attachment to illustarte the expected results
Here, try this:
Use function as:Please Login or Register to view this content.
Formula:Please Login or Register to view this content.
Where first range (A1:A100) is SUM range and second cell (A10) is criteria for color you want to sum.
Not sure exactly what you are trying to achieve.
In col. A, have you colored the range A7:A14 because the Sum(A7:A14) is equal to D3 i.e. 42?
If yes, then why not A4:A13 because sum of this range is also equal to 42?
You may try this to see if this is what you are trying to achieve.
Please Login or Register to view this content.
Last edited by sktneer; 05-05-2015 at 06:55 AM. Reason: Correction in variable type.
Regards
sktneer
Treat people the way you want to be treated. Talk to people the way you want to be talked to.
Respect is earned NOT given.
Mr. zbor
Thanks for this nice and useful function .. but it is not required here
Mr. sktneer
Great solution and very good ..
I wondered is there a way to extract the different possibilties to adjacent columns ..
To extract the possible sum ranges in adjacent columns, you may try this.....
Please Login or Register to view this content.
Mr. sktneer
This is the most perfect solution for my request
Thanks alot for this great help
You're welcome Yasser!
Glad I could help and thanks for the feedback as well.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks