+ Reply to Thread
Results 1 to 6 of 6

SUMIF formula for multiple "TEXTS"

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    South Carolina
    MS-Off Ver
    Excel 2010, 2013
    Posts
    5

    SUMIF formula for multiple "TEXTS"

    Some background on me. I am just learning Excel. Self teaching through tutorials online, the message board, and trial and error. I am trying to learn excel. I do not have much knowledge.

    I will try to explain this as best I can

    B4 is years
    C4 is actual years
    D4 is a text of EXT 1, EXT 2 or EXT 3. EXT 1 = the remaining years multiplied by 2. EXT 2 = remaining years multiplied by 3 and EXT 3 = rem yrs mul by 5

    What I am looking to do is: when I type EXT 1 or EXT 2 etc, into Column D, that will multiply the corresonding number to B4, giving me the inout to C4.

    EX: Type in EXT 2 into D4. That will multiply 3*the number of years in B4.

    I hope this makes a lick of sense.
    I will pre apologize for my lack of knowledge and ignorance.

    Thanks

    P

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUMIF formula for multiple "TEXTS"

    Hi,

    Welcome to the forum.

    Can I suggest you upload your workbook and manually enter the calculated results so that we can see where we're aiming for with a little more clarity.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-05-2014
    Location
    South Carolina
    MS-Off Ver
    Excel 2010, 2013
    Posts
    5

    Re: SUMIF formula for multiple "TEXTS"

    B C D
    YEARS Ext Yrs Extension
    4) 2 4 EXT 1

    5) 3
    6) 1 EXT1


    I get the SUMIF to work. =SUMIF(d4,"EXT 2",b4)*3. obviously, this does not help me when I enter in EXT 1 or 3.
    Also, I do not know how to upload the workbook.

    Thanks for the help

    P

  4. #4
    Registered User
    Join Date
    02-05-2014
    Location
    South Carolina
    MS-Off Ver
    Excel 2010, 2013
    Posts
    5

    Re: SUMIF formula for multiple "TEXTS"

    Hopefully this works.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-05-2014
    Location
    South Carolina
    MS-Off Ver
    Excel 2010, 2013
    Posts
    5

    Re: SUMIF formula for multiple "TEXTS"

    I found a way around to make it work
    I put the EXT in a column (L2, L3) and the corresponding number in a column (m2, M3).
    How do I get the empty cells not to show false? I want them to be blank unless D is filled in.

    =IF(D4=$L$2,B4*$M$2,IF(D4=$L$3,B4*$m$3))
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-05-2014
    Location
    South Carolina
    MS-Off Ver
    Excel 2010, 2013
    Posts
    5

    Re: SUMIF formula for multiple "TEXTS"

    OK, found some information and did this

    =IF(d4=$l$2,b4*$m$2,if(d4=$l$3,b4*$m$3,""))

    that solved the "FALSE" within the cells.

    If someone has a way that makes the worskeet not have the EXT off to the side on their own, i would appreciate if you could show me.
    If not, no problem, this works. I like the worksheet to be minimal, if possible.

    Thanks

    P

+ 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] Formula Needed to fill multiple cells with "No" when the word "No" is entered into a cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2013, 05:36 PM
  2. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  3. Search single row range for multiple texts and return "blah" Excel 2003
    By ashleyd in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-09-2013, 03:36 PM
  4. Performing "SUMIF" where "range" & criteria" are texts
    By joseedua in forum Excel General
    Replies: 1
    Last Post: 02-11-2010, 01:09 PM
  5. select multiple cell ranges in "sumif" formula?
    By Hitcoach in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-16-2005, 08:06 PM

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