+ Reply to Thread
Results 1 to 3 of 3

Explain Function problem

  1. #1
    Registered User
    Join Date
    02-21-2005
    Posts
    12

    Explain Function problem

    Hi all,

    I would really appreciate some help with this - it’s a real pain !!!

    I have a column of text and a column of numbers as shown bellow

    A B

    a 2
    b 3
    c 2
    b 3

    I would like to write a function that will look at the text and if it is equal to "a" or "b" then add the value from the B column to a cell on sheet two.
    In the example above I would have a Cell on sheet2 that would have 8 in it

    Hope my explanation makes sense !

    Thanks in advance for your help
    Martin

  2. #2
    Forum Contributor
    Join Date
    06-10-2004
    Location
    India
    Posts
    1,066
    use:
    =SUMIF(A1:A4,"a",B1:B4)+SUMIF(A1:A4,"b",B1:B4)

    your data lies in the range A1:B4

    Mangesh

  3. #3
    Registered User
    Join Date
    02-21-2005
    Posts
    12

    Talking Thanks

    Hi,

    Thats Perfect

    Thanks Loads
    Martin

+ 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