Look up a value and return a range please?

gian1

New Member
Joined
Sep 5, 2012
Messages
3
Hi </SPAN>

New to the forum and hoping to draw upon expert tips.</SPAN>

I have a spreadsheet with a range of prices for services ranging from £50,000 to £50m and the values change every month</SPAN>

I want to create another column so I only show a range for the prices e.g. £75,000 should be shown as £50k to £100k, £2.4m should be shown as £2m-£5m</SPAN>

I did post below but can only have 7 statements I believe, - </SPAN>
=IF(AND(G93>0,G93<100),"£50k-£100k",IF(AND(G93>=100,G93<250),"£100k-250k",IF(AND(G93>=250,G93<1000),"£500k-£1m",IF(AND(G93>=1000,G93<2000),"£1m-£2m",IF(AND(G93>=2000,G93<5000),"£2m-£5m",IF(AND(G93>=5000,G93<10000),"£5m-£10m",IF(AND(G93>=10000,G93<20000),"£10m-£20m")))))))</SPAN>

I require 11 range value – any ideas, look up somehow?</SPAN>

Much Appreciated</SPAN>
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Welcome to MrExcel.

Make a table like this:

Sheet3

*AB
880£50k-£100k
89100£100k-250k
90250£500k-£1m
911000£1m-£2m
922000£2m-£5m
935000£5m-£10m
9410000£10m-£20m

<colgroup><col style="width: 30px; font-weight: bold;"><col style="width: 42px;"><col style="width: 75px;"></colgroup><tbody>
</tbody>


Excel tables to the web >> Excel Jeanie Html" target="_blank"> Excel Jeanie HTML 4

Then use eg:

=VLOOKUP(G93,A1:B7,2)
 
Upvote 0

Forum statistics

Threads
1,215,147
Messages
6,123,295
Members
449,095
Latest member
Chestertim

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