If function

PaulD1984

New Member
Joined
Dec 1, 2021
Messages
3
Office Version
  1. 2010
Platform
  1. Windows
Good morning everyone,

I am a beginner to excel formulas and I am creating a holiday entitlement calculator for work. For the final calculation I need some criteria to be met for the outcome and I am not sure how to code this within excel.

Basically if the figure in cell V10 is lower than the figure in cell L10 I would like the outcome in cell W10 to be the figure in cell L10. If the figure in cell V10 is higher than the figure in L10 I would like the outcome in cell W10 to be the figure in cell V10, I hope this makes sense.

Any assistance warmly received and thank you in advance.
 

Attachments

  • Example for excel.PNG
    Example for excel.PNG
    50.8 KB · Views: 7

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
hi @PaulD1984 ,
Welcome to the board.

try using below formula in cell W10
Excel Formula:
=IF(V10<L10,L10,V10)
 
Upvote 0
If V10 = L10 then no change needs to happen, either will be correct so probably just keep it at L10
 
Upvote 0
Hi
Simply
Excel Formula:
=IF(V10>L10,L10,V10)
 
Upvote 0
Including your third condition the formula will look something like
If V10 = L10 then no change needs to happen, either will be correct so probably just keep it at L10
Excel Formula:
=IF(V10<L10,L10,IF(V10>L10,V10,IF(V10=L10,L10)))

hth
 
Upvote 0
Solution

Forum statistics

Threads
1,214,944
Messages
6,122,392
Members
449,081
Latest member
JAMES KECULAH

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