+ Reply to Thread
Results 1 to 4 of 4

Countifs - Add 1 to Cell Reference

  1. #1
    Registered User
    Join Date
    07-31-2017
    Location
    Massachusetts
    MS-Off Ver
    Office 2013
    Posts
    2

    Countifs - Add 1 to Cell Reference

    I can't seem to figure out what the syntax should be to get this to work. I have a countifs function that looks for tickets that occur the day after the date in C3 before 6:00 AM. The formula I am using is:

    COUNTIFS(Sheet1!$D:$D, "=1+"$C$3, Sheet1!$E:$E, "<6:00 AM", Sheet1!$H:$H, 9, Sheet1!$K:$K, "Folio")

    What syntax do I need to get this to work?

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Countifs - Add 1 to Cell Reference

    Try

    =COUNTIFS(Sheet1!D1:D10000,C3+1,Sheet1!E1:E100000,"<"&TIMEVALUE("06:00"),Sheet1!H1:H100000,9,Sheet1!K1:K100000,"Folio")
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    07-31-2017
    Location
    Massachusetts
    MS-Off Ver
    Office 2013
    Posts
    2

    Re: Countifs - Add 1 to Cell Reference

    Yes, thank you! So, if you are adding to a cell reference, do you not need quotes and ampersand?

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Countifs - Add 1 to Cell Reference

    Cell references shouldn't need quotes (unless they are part of an INDIRECT() formula).

    =A1+1 would add 1 to the value in cell A1
    =B13*4 would muliply the cell value in b13 by 4

    & is used to concatenate items together

    ="Today is "&TEXT(TODAY(),"ddd")
    =A1&B1

+ 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. [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
  2. Replies: 12
    Last Post: 03-23-2017, 01:24 PM
  3. Countifs with wildcard reference...
    By tamaramb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-28-2016, 09:29 PM
  4. COUNTIFS cell reference problem
    By Nomad1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-27-2015, 10:33 AM
  5. [SOLVED] Countifs with Row reference
    By nickmessick1 in forum Excel General
    Replies: 3
    Last Post: 05-14-2015, 07:45 PM
  6. countifs not working with cell reference
    By Trig79 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2013, 07:07 AM
  7. Countifs to get criteria from a cell reference
    By SeanKosmann in forum Excel General
    Replies: 2
    Last Post: 01-27-2011, 11:00 AM

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