Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry, here is what I'm trying to do. With named range selected
the code I used, If rng.Value = Val1 Then when the program finds a value that equals Val1 then it takes the value of the cell offset by one column and adds it to a variable and accumulates a total value based on Val1 and then places that total value in a new location. I can nest another IF statement for additional criteria but would prefer to use something like this, If rng.Value = Val1 And rng.Interior.ColorIndex = 36 Then The use of and is the question |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add values based on text color with the criteria of a date | Excel Worksheet Functions | |||
color a range of cells based on a criteria | Excel Discussion (Misc queries) | |||
Advancing outer Loop Based on criteria of inner loop | Excel Programming | |||
I am trying to color fill a cell based on specific criteria | Excel Discussion (Misc queries) | |||
Loop to change cell color based on found value? | Excel Programming |