gmaboing
New Member
- Joined
- Mar 24, 2010
- Messages
- 33
I've been working on this for two days now. I have a very long nested "If Then" statement that does what I want but I want a shorter way to get the answer. Here's the scenario:
Below in column B & D, I have "Names" and in column C & E, I have assigned a value to each name (I'm using spaces between the columns to try and line up the values)...
COLUMN B...............COLUMN C..........COLUMN D..........COLUMN E
Alex...........................20....................Brad....................77
Brad..........................15....................Paul.....................24
William.........................9....................Ron.......................3
Andrew.......................74....................Leslie..................79
I would like to see if D1 (Brad) exists in B1:C4 (basically all of columns B & C ) and if D1 (Brad) exists in columns B, take the value assigned to B1 (15,) and divide it by the corresponding value found in D1 (77) and subtract 1.
Would I be correct to use a VLOOKUP, and if so how?
Thank you for your help in advance.
Below in column B & D, I have "Names" and in column C & E, I have assigned a value to each name (I'm using spaces between the columns to try and line up the values)...
COLUMN B...............COLUMN C..........COLUMN D..........COLUMN E
Alex...........................20....................Brad....................77
Brad..........................15....................Paul.....................24
William.........................9....................Ron.......................3
Andrew.......................74....................Leslie..................79
I would like to see if D1 (Brad) exists in B1:C4 (basically all of columns B & C ) and if D1 (Brad) exists in columns B, take the value assigned to B1 (15,) and divide it by the corresponding value found in D1 (77) and subtract 1.
Would I be correct to use a VLOOKUP, and if so how?
Thank you for your help in advance.
Last edited: