davekim1000
New Member
- Joined
- Feb 11, 2005
- Messages
- 4
Can someone help me create a macro that will change a number value into a negative if an identifier for that number falls within a range of identifiers that indicate the number needs to be negative?
Example:
A1 B1
1234 blue
2352 red
4569 green
7452 yellow
if the identifier is red or yellow...then the value in the same row as that identifier should be negative.
A1 B1
1234 blue
-2352 red
4569 green
-7452 yellow
thanks in advance for your help
david
Example:
A1 B1
1234 blue
2352 red
4569 green
7452 yellow
if the identifier is red or yellow...then the value in the same row as that identifier should be negative.
A1 B1
1234 blue
-2352 red
4569 green
-7452 yellow
thanks in advance for your help
david