+ Reply to Thread
Results 1 to 5 of 5

Counting till the current value

  1. #1
    Registered User
    Join Date
    03-14-2019
    Location
    Damanjodi, India
    MS-Off Ver
    2013
    Posts
    2

    Unhappy Counting till the current value

    I want to count till the current cell and I used the following formula:

    In cell K61(Row 61), I entered COUNTIF(B5:B61, "<>C")

    There are over a thousand such cells where I need this formula. If I copy & paste the formula onto other cells the range changes. What to do ?

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Counting till the current value

    Use absolute references (the "$" signs)
    COUNTIF(B$5:B$61, "<>C")

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Counting till the current value

    Use the dollar symbol to lock the Row or Column or both.

    If you select your range and press f4 then excel will cycle through the options.


    =COUNTIF($B$5:$B$61, "<>C")
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Registered User
    Join Date
    03-14-2019
    Location
    Damanjodi, India
    MS-Off Ver
    2013
    Posts
    2

    Re: Counting till the current value

    Thanks guys for prompt response. It works.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,633

    Re: Counting till the current value

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Dropdown list with formula for months of the current year till date
    By mohanys in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-18-2019, 10:37 PM
  2. Need a help to avoid editing Macro for retrieving report till current date
    By Kishore@Kumar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-07-2013, 07:29 PM
  3. [SOLVED] Counting days till value is reached
    By Montoro22 in forum Excel General
    Replies: 11
    Last Post: 07-06-2012, 11:09 AM
  4. [SOLVED] Counting days till first value
    By Montoro22 in forum Excel General
    Replies: 1
    Last Post: 07-05-2012, 11:46 AM
  5. Average function to count till current month !!!
    By sonu1975 in forum Excel General
    Replies: 5
    Last Post: 05-11-2012, 07:44 AM
  6. using data till till the current row
    By nilu8603 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2010, 04:30 AM
  7. Excel 2007 : using data till current row
    By nilu8603 in forum Excel General
    Replies: 1
    Last Post: 01-26-2010, 12:48 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