Share via

Cell counting

Anonymous
2024-08-30T10:07:30+00:00

I need to count cells, like A2 + 4 cells = A6. How can I put this in a formula?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-02T08:41:30+00:00

    It appears that you want to obtain the row number of a cell for calculations. You can consider using the ROW function to get the row number of the target cell.

    Thomas

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-08-30T14:04:56+00:00

    Didn't work. =OFFSET(A2,19,0) just seems to put whatever you put in the second parameter. Almost everytime. No, I want to "math" with the cells.

    Like A2 + 5 = A7. For instance as an example, B6 = "Sunday", so to find the next sunday, it would be B6 + 7, right? Which would then be in cell B13. B6 + 7 = B13.

    Was this answer helpful?

    0 comments No comments
  3. Rory Archibald 18,965 Reputation points Volunteer Moderator
    2024-08-30T13:49:27+00:00

    Perhaps:

    =OFFSET(A2,4,0)

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-08-30T13:36:44+00:00

    No, this is not it at all. Like I said, I want to be able to have it select value from a cell, based on a cell plus a number to get to that cell. The example is given: A2 + 4 = A6. Is there a way to do this? Not COUNTA, that counts cells with value. That's not it. Or even if it was..

    Then A2 + COUNTA(B2:B5) = A6 (given all B2:B5 has a value in them). I want to have it count to a cell, then use that value.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-08-30T11:22:21+00:00

    Hi Stefan Walle,

    Thanks for your post in Microsoft Community.

    I'm not quite sure about your exact needs. Are you trying to count the number of cells containing numbers between A2 and A6? If so, you could consider using the COUNTA function: 

    =COUNTA(A2:A6)

    Please share more context with me so I can assist you better, and I look forward to your reply!

    Best Regards,

    Thomas C - MSFT | Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments