Formula to generate a set number in each cell

emilyp9

New Member
Joined
Aug 2, 2019
Messages
3
Good morning,

I am working on a sheet and I am rusty on my Excel formulas. I have a column that needs to auto fill based on certain criteria. If a number typed in column B is 130,131,132,133,134,135 then column C needs to equal 25.8, if the number typed in column B is 136,137,138,139 then column C needs to equal 53.4, If B is 147 then C is 31.95

It continues on with specifics built off a tab on the sheet....
Any help is appreciated.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hi & welcome to MrExcel
If you have a list of the values & what you need you can use something like


Book1
BCDLM
1ListReturn
213525.813025.8
313653.4
414036.9
514731.95
Master
Cell Formulas
RangeFormula
C2=VLOOKUP(B2,L2:M5,2)
 
Upvote 0
Daily the number 130, 131,132... ect would be manually typed and not in the same place. Could I send you what I am working on?
 
Upvote 0
You can upload to file to somewhere like OneDrive, DropBox, GoogleDrive mark for sharing & then post the link to the thread.
 
Upvote 0
In G3 copied down & across to col H
=IFERROR(VLOOKUP($F3,INDIRECT(TEXT($D$1,"ddd")&"!C2:E48"),COLUMNS($A$1:A$1),0),"")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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