HLOOKUP Setting Range in formula

rhynoe

New Member
Joined
Dec 20, 2011
Messages
2
Goal:

Track Number of times employee is Late in a rolling 12 week period

Attempted Method

Start // Date Manually entered
=C3 // Entered 1/1/2012

End
=C3()+84 = 3/25/2012

I have dates horizontally (D1:CO1)

RANGE1 Start RANGE2 End

In theory i would like to =Countif (hlookup(Start : END), "Late")
Obviously this does not work but I hope you get the idea. The next part would be each range would be a row down and counting Lates in that range.

Any help would be appreciated
 
Last edited:

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try this.=COUNTIF(OFFSET(D1,1,MATCH(C3,D1:CO1)-1,1,84),"late")
I think you have the dates in D1:CO1 and the word "late" in D2:CO2. Modify the ranges to suit your data layout
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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