+ Reply to Thread
Results 1 to 4 of 4

Need to sum characters in multiple cells, same column, different rows

  1. #1
    Registered User
    Join Date
    02-15-2012
    Location
    Atlanta
    MS-Off Ver
    Excel 2002
    Posts
    2

    Need to sum characters in multiple cells, same column, different rows

    I have been looking online, but to no avail. Basically I need to sum the number of forward slashes (/) within multiple cells that are not adjacent, ie J7, J9, J11, J13 and on for 20 or so cells. Is there any way to do this without a macro?

    Thanks!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,699

    Re: Need to sum characters in multiple cells, same column, different rows

    Hello Jamie78,

    You can use this formula to count all forward slashes in alternate cells from J7 onwards, as far as J47, adjust as required

    =SUMPRODUCT((MOD(ROW(J7:J47)-ROW(J7),2)=0)+0,LEN(J7:J47)-LEN(SUBSTITUTE(J7:J47,"/","")))
    Audere est facere

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Need to sum characters in multiple cells, same column, different rows

    @dll,

    Impressive! Is there an end to what you can come up with?

  4. #4
    Registered User
    Join Date
    02-15-2012
    Location
    Atlanta
    MS-Off Ver
    Excel 2002
    Posts
    2

    Re: Need to sum characters in multiple cells, same column, different rows

    Thank you so much. I'll try it as soon as I get into the office on Monday. Is it an array formula? I just started learning about those so I'm sorry if I'm asking an obvious question. Again, thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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