Iferror rounddown help

annep833

New Member
Joined
Aug 14, 2020
Messages
18
Office Version
  1. 2010
Platform
  1. Windows
Hello, I want to rounddown the value in r2, add that value to the value in s2, and divide the total of those 2 values by the value in T2 without the div error. I am using 2010 excel. Thank you!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
How about
=IF(OR(T2={"",0}),"",(ROUNDDOWN(R2,0)+S2)/T2)
 
Upvote 0
That's not working. I'm sorry. Maybe this would be better... using a macro to divide the value entered in column S by 4 then rounddown that value to a whole number. Then I could use a simple iferror function to calculate the value for column v.
 
Upvote 0
I think maybe your description isn't quite clear, if Fluff's formula didn't work for you.
Can you walk us through an actual example, showing us exactly what value you arrrive at and how?
BTW, a macro should be totally unnecessary for any of this. Excel's built-in functions should be able to handle it, so I don't see any advantage to using VBA here.
 
Upvote 0
As well as what Joe has said, can you please use the XL2BB add-in to post some sample data, along with expected results.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,487
Members
448,967
Latest member
visheshkotha

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