+ Reply to Thread
Results 1 to 3 of 3

XLOOKUP and COUNTIFS?

  1. #1
    Registered User
    Join Date
    04-07-2022
    Location
    Kentucky
    MS-Off Ver
    Excel 365
    Posts
    32

    XLOOKUP and COUNTIFS?

    First off, I apologize if this is posted in the wrong place. I am new to the forum and this is my first post. I have a Timesheet workbook (attached) that not only needs to count the hours worked by day and employee, but also any time off by day and employee. This is complicated because my boss wants the time off return type to be listed (.i.e. EAB, instead of hours given off). I was able to craft an XLOOKUP formula to return the amount of normal hours worked, and in a separate cell (F4) craft a formula that will return the text if it's greater than 0, but I am having no luck putting it altogether. I need it to look in 'Timesheets' columns N-Q and return the text listed in the heading if greater than 0, in addition to the normal hours worked ('Timesheets' column Z). The end result will either be normal hours worked or one of the four time off headings in the time sheet. Any help or insight would be greatly appreciated.
    Attached Files Attached Files
    Last edited by ExcelDavid4; 04-07-2022 at 03:27 PM. Reason: Solved!

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: XLOOKUP and COUNTIFS?

    Without using the helper sheet, try this in C4:

    Please Login or Register  to view this content.
    Then copy the formula across to I4 then C4:I4 formula copied down the table as necessary.

    WBD
    Attached Files Attached Files
    Office 365 on Windows 11, looking for rep!

  3. #3
    Registered User
    Join Date
    04-07-2022
    Location
    Kentucky
    MS-Off Ver
    Excel 365
    Posts
    32

    Re: XLOOKUP and COUNTIFS?

    WBD, that worked like a charm. Thank you very much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. If this do this XLOOKUP otherwise do this XLOOKUP
    By MattKoleczko in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-21-2022, 08:14 AM
  2. [SOLVED] Countifs by month and Sum does not match Countifs for year, help with syntax needed
    By m_carter in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-08-2021, 10:12 AM
  3. [SOLVED] converting a countifs referencing part of the formula to a indirect countifs
    By DEEARO in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-30-2021, 03:17 PM
  4. Xlookup & sum
    By lynusann in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-19-2020, 11:04 PM
  5. Replies: 6
    Last Post: 03-19-2019, 09:14 PM
  6. [SOLVED] Sumproduct to replace countifs as countifs don't work on external source reference
    By KrishnaSagar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-02-2017, 02:33 AM
  7. Replies: 0
    Last Post: 12-16-2011, 09:01 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1