IF & ROUND UP FORMULA SUPPORT

Ash Hayashi

New Member
Joined
Sep 13, 2023
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello,
Not sure if it is doable or not. But was hoping there is a way to get this to work.

I am looking to combine an IF & ROUND UP statement into one cell (K5). This cell is already looking at data from multiple other cells to give me a value.
But, if that value is equal to the same value in the cell beside it (L5), I want it to round up by 1.

Current formula in K5 cell is: =(ROUNDUP((B7*G14)/B6,0)*Q5)

I was thinking something like this formula might help, but I can't quite get the two formulas to merge in a way that works: =IF(K5>=L5,K5+1, ROUNDUP(K5,0))

Hopefully this all makes sense. Thank you to anyone that can help.
 

Attachments

  • EXCEL PARTS SAMPLE.jpg
    EXCEL PARTS SAMPLE.jpg
    74.6 KB · Views: 23

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi & welcome to MrExcel.
How about
Excel Formula:
=LET(r,ROUNDUP((B7*G14)/B6,0)*Q5,IF(L5<r,r,r+1))
 
Upvote 0
Solution
In that case the value in L5 is less than the value in K5
 
Upvote 0
Oh, duh! lol

Thank you. That seems to have done the trick!

I'm not familiar with LET formulas at all. So, I've learned something. Thank you again!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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