Closed Thread
Results 1 to 2 of 2

Thread: Identifying and adding elements in a cell range

  1. #1
    Registered User
    Join Date
    01-02-2012
    Location
    Arkansas
    MS-Off Ver
    Excel 2007
    Posts
    12

    Question Identifying and adding elements in a cell range

    Forum, I'm currently using the following code to count up the instances of VA within a group of cells on a worksheet and add them together. For instance, if I enter 8VA and 3VA, the calculation returns 11VA, which is perfect. However, it only grabs the first digit before the VA, so if I enter 11VA and 12VA, it returns 3VA instead of 23VA. How can it be mofidied to add double digits, too?

    =SUMPRODUCT(--MID(Schedule!E4:CQ4&"0va",SEARCH("va",Schedule!E4:CQ4&"0va")-1,1))

  2. #2
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,953

    Re: Identifying and adding elements in a cell range

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    http://www.excelforum.com/excel-gene...ell-range.html

    Thread Closed.

Closed Thread

Thread Information

Users Browsing this Thread

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

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.2.0