Formula Combining IF, ROUND, AND

Rmayfield

New Member
Joined
Feb 19, 2021
Messages
13
Office Version
  1. 2013
Platform
  1. Windows
Trying to figure out how to do an IF statement, a ROUNDUP and an AND statement in the same cell. Example

Cell A1 the number 75 in it
Cell A2 has an X in it
Cell A3 has my formula

I want the formula to say if cell A2 has an X in it, and cell A1 is <75, divide the number in A1 by 30 and round up. If cell A2 doesn't have an X, then leave the cell blank.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
MrExcelPlayground.xlsm
A
175
2X
3 
Sheet20
Cell Formulas
RangeFormula
A3A3=IF(AND(A1<75,A2="X"),ROUNDUP(A1/30,0),"")
 
Upvote 0
Solution
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Help with a FormulaCombining IF, ROUND, AND
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Help with a FormulaCombining IF, ROUND, AND
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
Sorry, I did not remove my question from another site. I did now.
 
Upvote 0
There is no need to remove your question from the other site, just let us know in future.

Did the formula from JamesCanale work for you?
 
Upvote 0
There is no need to remove your question from the other site, just let us know in future.

Did the formula from JamesCanale work for you?
I don't know yet. Still working on it. I will let you know. Thanks.
 
Upvote 0

Forum statistics

Threads
1,213,506
Messages
6,114,025
Members
448,543
Latest member
MartinLarkin

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