if then formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

my logic isn't working here. i have if a1=multiple of 60, then return a1
otherwise return 0. can i do a "multiple of 60? - for example 60, 120, 180
etc...or i can hard code these since it's only up to 360.
 
Try this entered in B1

=IF(INT(A1/60=INT(A1/60)),A1,0)


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel Need Countifs Formula Help 0
Number of days 2
Excel Compass angles in Excel 10
Need help 2
Create an aged column 6
if function, how? 4
Aging Formula Help 4
IF Formula 3

Back
Top