+ Reply to Thread
Results 1 to 7 of 7

Help with multi cell IF THEN functions

  1. #1
    Registered User
    Join Date
    02-16-2015
    Location
    Stoke on Trent, England
    MS-Off Ver
    2010
    Posts
    2

    Help with multi cell IF THEN functions

    Example formular problem.xlsx

    I am looking for help with a multi cell IF THEN type function (See attached workbook) I am looking for a cell in a summary table to find all the bookings of a certain category, find the associated value (within date parameters) and then auto sum the values into another cell. I have tried a few formulas and searches on the forum, but can't get it to work.

    The attached is an example and in the actual work book I will be summarizing on a different work sheet and will need to pull the data across.

    Any help you can provide on the correct formula would be greatly appreciated. Thank you

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: Help with multi cell IF THEN functions

    in G2
    =SUMPRODUCT(($B$2:$B$24=RIGHT($F2,1))*($D$2:$D$24=RIGHT(G$1,1)+0)*($C$2:$C$24))

    copy right and down to as far as I4
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Help with multi cell IF THEN functions

    Put this formula in G2:

    =SUMIFS($C:$C,$B:$B,SUBSTITUTE($F2,"Total ",""),$D:$D,--SUBSTITUTE(G$1,"Week",""))

    then copy across to I2, then copy G2:I2 down to row 4.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    02-16-2015
    Location
    Cardiff, Wales
    MS-Off Ver
    365
    Posts
    10

    Re: Help with multi cell IF THEN functions

    Hi
    Not sure if this is allowed but I thought I'd jump in on the end of this thread to save starting a new one on the same subject.
    I am having difficulty with something that is most probably fairly simple. I've done tutorials, watched YouTube videos and even embarked on a Mook course but to no avail.
    Basically I am setting up a spreadheet budget for certain workshops that my organisation does. There are 5 types and each costs a different amount.
    All I want to create is a formula that states = if a '1' is put into cell A3 then a '250' will appear in D3, if a '2' is in cell A3 then a '350' will be in D3 and so on.

    The formula I have created so far is - =IF(a3=='1',d3="250'). Now I don't have a false value but a load of true values so is there where I'm going wrong?

    Thanks so much

    Simon

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Help with multi cell IF THEN functions

    Simon,

    please read the Forum Rules at the top of the screen, especially Rule 02 - you should not attempt to hijack someone else's thread, but start your own instead. Include a link back to this one if you think it is relevant.

    Pete

  6. #6
    Registered User
    Join Date
    02-16-2015
    Location
    Cardiff, Wales
    MS-Off Ver
    365
    Posts
    10

    Re: Help with multi cell IF THEN functions

    Sorry Pete - thought it would be better to keep it to one thread - will start a new one.

    Thanks

    Simon

  7. #7
    Registered User
    Join Date
    02-16-2015
    Location
    Stoke on Trent, England
    MS-Off Ver
    2010
    Posts
    2

    Re: Help with multi cell IF THEN functions

    Thank you Pete_UK that works a treat

+ 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. Multi functions
    By N Harkawat in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 09-06-2005, 03:05 PM
  2. Multi functions
    By SR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  3. Multi functions
    By SR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  4. Multi functions
    By SR in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-17-2005, 11:05 AM

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.6.0 RC 1