surely there is an easier way....

aceee

Board Regular
Joined
Feb 21, 2008
Messages
239
hey all.
i have a table
basicly looks like this..
1|.....A.....|.....b.....|.....c.....|
2|0..........|10.........|25%.....|
3|11........|20.........|35%.....|
4|21.........|30.........|45%.....|
5|31.........|40.........|55%.....|

Lets say in E1 i have "16" is there an easy way to make it return "35%"
instead of a huge amount of nexted IF statements, is there an easier way to lookup this table?

cheers
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
hey all.
i have a table
basicly looks like this..
1|.....A.....|.....b.....|.....c.....|
2|0..........|10.........|25%.....|
3|11........|20.........|35%.....|
4|21.........|30.........|45%.....|
5|31.........|40.........|55%.....|

Lets say in E1 i have "16" is there an easy way to make it return "35%"
instead of a huge amount of nexted IF statements, is there an easier way to lookup this table?

cheers

Try...

=LOOKUP(E1,$A$2:$A$4,$C$2:$C$4)

=VLOOKUP(E1,$A$2:$C$4,3,1)

=INDEX($C$2:$C$4,MATCH(E1,$A$2:$A$4,1))

They are all equivalent.
 
Upvote 0

Forum statistics

Threads
1,224,541
Messages
6,179,418
Members
452,912
Latest member
alicemil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top