IF(ISNUMBER) formula help

Kayla22R

New Member
Joined
Oct 25, 2024
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
I am working on a special project for my clients attendance and I need some help with something I am trying to do using the IF(ISNUMBER). Here is an explanation of what I am trying to do. On one sheet called Bus Duty Log, I have a column titled "Time In" and then my instructors will put the time that a client comes into program, and once they put the time in say 8:00, it automatically makes my column "In or Out" on a different sheet called "Activity Record Reporting" to say "In". If there was no time entered on that first sheet, then this column on the second sheet will just stay blank. I was able to achieve this already with the =IF(ISNUMBER('Bus Duty Log'!O8), "In", "") formula and that works great, but I am now trying to do that same exact formula but I need to pull time from two different sheets instead of just the "Bus Duty Log". So for example what I am trying to do now is if an instructor types in a time such as 8:00 in EITHER sheet titled "Bus Duty Log" or sheet titled "Zoom Log" (See picture 1 and 2 for that), then cell D2 on sheet "Activity Record Reporting" (See on picture 3) will say "In". I have tried everything I can, but can't find anything that will work.
 

Attachments

  • 2.png
    2.png
    38.2 KB · Views: 5
  • 3.png
    3.png
    42 KB · Views: 5
  • 4.png
    4.png
    33.6 KB · Views: 5

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.
Try this:
Excel Formula:
=if(or(isnumber('Bus Duty Log'!O8),isnumber('Zoom Log'!O8)),"In","")
 
Upvote 0
Try this:
Excel Formula:
=if(or(isnumber('Bus Duty Log'!O8),isnumber('Zoom Log'!O8)),"In","")
That worked! Thank you so much! I have been able to learn all these other codes and uses but this one has been stumping me. I appreciate it!
 
Upvote 0
If interested, you could also use this
Excel Formula:
=IF(COUNT('Bus Duty Log'!O8,'Zoom Log'!O8),"In","")

... and if those two worksheets are immediately next to each other (in that order), which they appear to be in your image, also this slightly more compact form
Excel Formula:
=IF(COUNT('Bus Duty Log:Zoom Log'!O8),"In","")

Looks like in all formulas though the sheet names need slight modification to exactly match yours. :)
 
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,165
Members
452,615
Latest member
bogeys2birdies

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