COUNTIFS over multiple worksheets

Posted by Alison on Super User See other posts from Super User or by Alison
Published on 2013-07-29T15:46:20Z Indexed on 2014/06/01 3:31 UTC
Read the original article Hit count: 223

Filed under:

I am trying to make COUNTIFS go across two worksheets in the same excel file (Final Driver Forecast Model), just on different tabs. I need it to count if a driver returns between a certain time, then to put a 1 in that time slot. For example if a driver returns at 2:30 p.m. on the 27th, then the formula will put in a 1 in the July 27th slot from 2:00 p.m.-4:00 p.m. I have tried two different formulas the first is

=COUNTIF3D(Bid Sheet '[1]Bid Sheet 1'!O4:O110,">="&B76,O4:O110,"<="&C76)

This is looking at the worksheet called Bid Sheet 1 and the column O4 through O110 and deciding if the time fits in the time slot of B76 00:00 (12 a.m.) and C 76 2:00 a.m. The second formula I tried to do the exact same thing

=COUNTIF3D(O4:O110,">="B76,O4:O110,"<="&C76,"FinalDriverForecastModel',Bid Sheet 1")

Neither is working and they both give me #NAME? when I hit enter......What am I doing wrong?

© Super User or respective owner

Related posts about microsoft-excel