Return value from another cell

Johnboy28

Board Regular
Joined
Jun 22, 2013
Messages
183
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
  5. 2010
Platform
  1. Windows
Hi, I'm looking for a formula - If "Actual Cold Weight" is greater than "Hot Weight" then use "Est Cold Weight" if not then use "Act Cold Weight"

Thank you

Hot WeightEst Cold WeightAct Cold WeightCold Weight
239.40234.53240.40??
239.40236.02236.20
317.40314.23308.40
323.15319.67315.40
317.40318.68314.00
280.40273.14269.00
306.40305.32300.00
304.40308.78306.00
348.40346.40344.80
351.90350.86345.00
432.40421.15413.40
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
this should work

=If (Act Cold Weight > Hot Weight, Est Cold Weight, Act Cold Weight)

Book1
ABCD
1Hot WeightEst Cold WeightAct Cold WeightCold Weight
2239.4234.53240.4234.53
3239.4236.02236.2236.2
4317.4314.23308.4308.4
5323.15319.67315.4315.4
6317.4318.68314314
7280.4273.14269269
8306.4305.32300300
9304.4308.78306308.78
10348.4346.4344.8344.8
11351.9350.86345345
12432.4421.15413.4413.4
Sheet1
Cell Formulas
RangeFormula
D2:D12D2=IF(C2>A2,B2,C2)
 
Upvote 0
=IF(C2>A2,B2,C2)
Great - Thank you.

Is it possible to add to the formula - If the variance between "Hot Weight And "Actual cold Weight is greater than 10kg, it will use the "Est Cold weight"
 
Upvote 0
like this?

Book1
ABCD
1Hot WeightEst Cold WeightAct Cold WeightCold Weight
2239.4234.53240.4240.4
3239.4234.53250.4234.53
Sheet1
Cell Formulas
RangeFormula
D2:D3D2=IF(ABS(C2-A2)>10,B2,C2)
 
Upvote 0

Forum statistics

Threads
1,217,355
Messages
6,136,064
Members
449,987
Latest member
lil_Sassy

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