Creating a unique reference if cell data is between a number range

MartKenn08

New Member
Joined
May 30, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,

Looking for the correct formula to use to generate a unique reference based off the number value shown in a column.

e.g. the number in cell D1 is between 1-2 produce reference R100 in in cell E1, if the number is between the range 3-5 populate the reference R200 etc.

Any help will be greatly appreciated, using excel for MSO 365.

Thanks,
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
try this:

Book1
ABCDEFGH
11.50R100
2
31.00R100
43.00R200
55.00R300
Sheet4
Cell Formulas
RangeFormula
E1E1=XLOOKUP(D1,G3:G5,H3:H5,"not found",-1,1)
 
Upvote 0
Solution

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

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