peterinaudo
New Member
- Joined
- Oct 4, 2012
- Messages
- 25
Hi, I am having trouble working out this range lookup problem and would really appreciate some help. Still trying to get the hang of Excel.
I am using Excel 2007, my computer runs on Windows Vista.
Excel 2007
<tbody>
[TD="align: center"]1
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]3
[/TD]
[TD="align: right"][/TD]
[TD="align: center"]4
[/TD]
[TD="align: right"] $ 0.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]25%
[/TD]
[TD="align: right"] $ 0.56
[/TD]
[TD="align: center"]5
[/TD]
[TD="align: right"] $ 0.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]50%
[/TD]
[TD="align: right"] $ 1.13
[/TD]
[TD="align: center"]6
[/TD]
[TD="align: right"] $ 0.60
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]75%
[/TD]
[TD="align: right"] $ 1.69
[/TD]
[TD="align: center"]7
[/TD]
[TD="align: right"] $ 0.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]100%
[/TD]
[TD="align: right"] $ 2.25
[/TD]
[TD="align: center"]8
[/TD]
[TD="align: right"] $ 1.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]125%
[/TD]
[TD="align: right"] $ 2.81
[/TD]
[TD="align: center"]9
[/TD]
[TD="align: right"] $ 1.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]150%
[/TD]
[TD="align: right"] $ 3.38
[/TD]
[TD="align: center"]10
[/TD]
[TD="align: right"] $ 1.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]11
[/TD]
[TD="align: right"] $ 1.60
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]12
[/TD]
[TD="align: right"] $ 1.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]13
[/TD]
[TD="align: right"] $ 2.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]14
[/TD]
[TD="align: right"] $ 2.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]15
[/TD]
[TD="align: right"] $ 2.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]16
[/TD]
[TD="align: right"] $ 2.60
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]17
[/TD]
[TD="align: right"] $ 2.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]18
[/TD]
[TD="align: right"] $ 3.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]19
[/TD]
[TD="align: right"] $ 3.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]20
[/TD]
[TD="align: right"] $ 3.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
What I would like to achieve-
1/ Cell C4 requires a function which will look at the value in A4, i.e. either the Range between $0.00 to $0.20 , OR $0.20 to $0.40, then search down the cells F4 to F9 and return the value in that Range only if there is one, otherwise return a blank.
2/ Cell B4 requires a function which will return the corresponding Percentage value of C4 if it is populated with a value, otherwise it is to remain blank.
3/ The function inserted in cell C4 will be copied down to cell C20.
Below is the desired result.
Excel 2007
<tbody>
[TD="align: center"]1
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]3
[/TD]
[TD="align: right"][/TD]
[TD="align: center"]4
[/TD]
[TD="align: right"] $ 0.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]25%
[/TD]
[TD="align: right"] $ 0.56
[/TD]
[TD="align: center"]5
[/TD]
[TD="align: right"] $ 0.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]50%
[/TD]
[TD="align: right"] $ 1.13
[/TD]
[TD="align: center"]6
[/TD]
[TD="align: right"] $ 0.60
[/TD]
[TD="align: right"]25%
[/TD]
[TD="align: right"] $ 0.56
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]75%
[/TD]
[TD="align: right"] $ 1.69
[/TD]
[TD="align: center"]7
[/TD]
[TD="align: right"] $ 0.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]100%
[/TD]
[TD="align: right"] $ 2.25
[/TD]
[TD="align: center"]8
[/TD]
[TD="align: right"] $ 1.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]125%
[/TD]
[TD="align: right"] $ 2.81
[/TD]
[TD="align: center"]9
[/TD]
[TD="align: right"] $ 1.20
[/TD]
[TD="align: right"]50%
[/TD]
[TD="align: right"] $ 1.13
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]150%
[/TD]
[TD="align: right"] $ 3.38
[/TD]
[TD="align: center"]10
[/TD]
[TD="align: right"] $ 1.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]11
[/TD]
[TD="align: right"] $ 1.60
[/TD]
[TD="align: right"]75%
[/TD]
[TD="align: right"] $ 1.69
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]12
[/TD]
[TD="align: right"] $ 1.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]13
[/TD]
[TD="align: right"] $ 2.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]14
[/TD]
[TD="align: right"] $ 2.20
[/TD]
[TD="align: right"]100%
[/TD]
[TD="align: right"] $ 2.25
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]15
[/TD]
[TD="align: right"] $ 2.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]16
[/TD]
[TD="align: right"] $ 2.60
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]17
[/TD]
[TD="align: right"] $ 2.80
[/TD]
[TD="align: right"]125%
[/TD]
[TD="align: right"] $ 2.81
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]18
[/TD]
[TD="align: right"] $ 3.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]19
[/TD]
[TD="align: right"] $ 3.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]20
[/TD]
[TD="align: right"] $ 3.40
[/TD]
[TD="align: right"]150%
[/TD]
[TD="align: right"] $ 3.38
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
I hope this is easy for you to solve, thank you for your help.
regards, Pete
I am using Excel 2007, my computer runs on Windows Vista.
Excel 2007
A | B | C | D | E | F | |
---|---|---|---|---|---|---|
Initial Table | ||||||
Price Range | Percentage | Price | Percentage | Price | ||
<tbody>
[TD="align: center"]1
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]3
[/TD]
[TD="align: right"][/TD]
[TD="align: center"]4
[/TD]
[TD="align: right"] $ 0.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]25%
[/TD]
[TD="align: right"] $ 0.56
[/TD]
[TD="align: center"]5
[/TD]
[TD="align: right"] $ 0.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]50%
[/TD]
[TD="align: right"] $ 1.13
[/TD]
[TD="align: center"]6
[/TD]
[TD="align: right"] $ 0.60
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]75%
[/TD]
[TD="align: right"] $ 1.69
[/TD]
[TD="align: center"]7
[/TD]
[TD="align: right"] $ 0.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]100%
[/TD]
[TD="align: right"] $ 2.25
[/TD]
[TD="align: center"]8
[/TD]
[TD="align: right"] $ 1.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]125%
[/TD]
[TD="align: right"] $ 2.81
[/TD]
[TD="align: center"]9
[/TD]
[TD="align: right"] $ 1.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]150%
[/TD]
[TD="align: right"] $ 3.38
[/TD]
[TD="align: center"]10
[/TD]
[TD="align: right"] $ 1.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]11
[/TD]
[TD="align: right"] $ 1.60
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]12
[/TD]
[TD="align: right"] $ 1.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]13
[/TD]
[TD="align: right"] $ 2.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]14
[/TD]
[TD="align: right"] $ 2.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]15
[/TD]
[TD="align: right"] $ 2.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]16
[/TD]
[TD="align: right"] $ 2.60
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]17
[/TD]
[TD="align: right"] $ 2.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]18
[/TD]
[TD="align: right"] $ 3.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]19
[/TD]
[TD="align: right"] $ 3.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]20
[/TD]
[TD="align: right"] $ 3.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
Sheet1
What I would like to achieve-
1/ Cell C4 requires a function which will look at the value in A4, i.e. either the Range between $0.00 to $0.20 , OR $0.20 to $0.40, then search down the cells F4 to F9 and return the value in that Range only if there is one, otherwise return a blank.
2/ Cell B4 requires a function which will return the corresponding Percentage value of C4 if it is populated with a value, otherwise it is to remain blank.
3/ The function inserted in cell C4 will be copied down to cell C20.
Below is the desired result.
Excel 2007
A | B | C | D | E | F | |
---|---|---|---|---|---|---|
Desired Result | ||||||
Price Range | Percentage | Price | Percentage | Price | ||
<tbody>
[TD="align: center"]1
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]3
[/TD]
[TD="align: right"][/TD]
[TD="align: center"]4
[/TD]
[TD="align: right"] $ 0.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]25%
[/TD]
[TD="align: right"] $ 0.56
[/TD]
[TD="align: center"]5
[/TD]
[TD="align: right"] $ 0.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]50%
[/TD]
[TD="align: right"] $ 1.13
[/TD]
[TD="align: center"]6
[/TD]
[TD="align: right"] $ 0.60
[/TD]
[TD="align: right"]25%
[/TD]
[TD="align: right"] $ 0.56
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]75%
[/TD]
[TD="align: right"] $ 1.69
[/TD]
[TD="align: center"]7
[/TD]
[TD="align: right"] $ 0.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]100%
[/TD]
[TD="align: right"] $ 2.25
[/TD]
[TD="align: center"]8
[/TD]
[TD="align: right"] $ 1.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]125%
[/TD]
[TD="align: right"] $ 2.81
[/TD]
[TD="align: center"]9
[/TD]
[TD="align: right"] $ 1.20
[/TD]
[TD="align: right"]50%
[/TD]
[TD="align: right"] $ 1.13
[/TD]
[TD="align: right"][/TD]
[TD="align: right"]150%
[/TD]
[TD="align: right"] $ 3.38
[/TD]
[TD="align: center"]10
[/TD]
[TD="align: right"] $ 1.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]11
[/TD]
[TD="align: right"] $ 1.60
[/TD]
[TD="align: right"]75%
[/TD]
[TD="align: right"] $ 1.69
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]12
[/TD]
[TD="align: right"] $ 1.80
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]13
[/TD]
[TD="align: right"] $ 2.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]14
[/TD]
[TD="align: right"] $ 2.20
[/TD]
[TD="align: right"]100%
[/TD]
[TD="align: right"] $ 2.25
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]15
[/TD]
[TD="align: right"] $ 2.40
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]16
[/TD]
[TD="align: right"] $ 2.60
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]17
[/TD]
[TD="align: right"] $ 2.80
[/TD]
[TD="align: right"]125%
[/TD]
[TD="align: right"] $ 2.81
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]18
[/TD]
[TD="align: right"] $ 3.00
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]19
[/TD]
[TD="align: right"] $ 3.20
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]20
[/TD]
[TD="align: right"] $ 3.40
[/TD]
[TD="align: right"]150%
[/TD]
[TD="align: right"] $ 3.38
[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
Sheet1
I hope this is easy for you to solve, thank you for your help.
regards, Pete
Last edited: