+ Reply to Thread
Results 1 to 17 of 17

Conditional Formulas

  1. #1
    Registered User
    Join Date
    03-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    47

    Conditional Formulas

    This is the workbook:
    It is in the attachment I uploaded.

    I need to find the total prices for Cans that have Filling and which cost at least 60000.
    I tried the formula below but i am getting an error msg.


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by excel girl; 03-22-2014 at 05:43 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Conditional Formulas

    Hi and welcome to the forum

    I did not open your file (yet), but try this....

    =SUMIFS(E12:E63;H11:H63;"Can";H12:H63;"Filling";E12:D6,">= 60000")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    47

    Re: Conditional Formulas

    Hi, i made an error with my formula so i just changed it. I tried using the commas an it doesn't work. The semi colons are accepted for other functions on my laptop in excel 2013.

    =SUMIFS(E12:E63;H11:H63;"Can";H12:H63;"Filling";E12:E63;">= 60000")
    I have tried using this but still it does not work.
    Last edited by excel girl; 03-22-2014 at 05:48 PM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Conditional Formulas

    OK I looked at your file. It bears no resemblance to what you have in that formula, no columns contain either "Can" or "filing", and E (the sum range) is phone numbers. Your formula ranges are 11:63, but your data starts in 2?

    Also, you atr testing for 2 things in the same column in your sumifs (sorry, didnt notice that before), That wot work.

    I suggest you check your file, then upload the file that is specific to the formula you posted (or give the "corrected" formula for that file?)

  5. #5
    Registered User
    Join Date
    03-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    47

    Re: Conditional Formulas

    Sorry about that error, here is the correct file. I uploaded the wrong one


    Refer to sheet 1 of the workbook.
    Attached Files Attached Files

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Conditional Formulas

    Please check carfully what you upload.
    =SUMIFS(E12:E63;H11:H63;"Can";H12:H63;"Filling";E12:D6,">= 60000")
    Column H is empty, and column E is a size

    What exactly are you trying to do there?

  7. #7
    Registered User
    Join Date
    03-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    47

    Re: Conditional Formulas

    ok, here it is.
    Attached Files Attached Files

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Conditional Formulas

    Perhaps you missed this part?

    What exactly are you trying to do there?

  9. #9
    Registered User
    Join Date
    03-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    47

    Re: Conditional Formulas

    I need to find the total prices for Cans that have Filling and which cost at least 60000.

  10. #10
    Registered User
    Join Date
    03-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    47

    Re: Conditional Formulas

    Is anyone available to assist?

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Conditional Formulas

    If you mean you want to sum only those rows where QTY in stock * Retail Prrice is at least 60 000, then the answer will be 0. You have a max of QTY*Price of 1209.08, and a grand total of only 25604

  12. #12
    Registered User
    Join Date
    03-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    47

    Re: Conditional Formulas

    Thank you, i got that answer also. How do i go about finding the>> arithmetic mean of revenues earned ? I am required to use an array formula

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Conditional Formulas

    This sounds like a homework assignemt?

  14. #14
    Registered User
    Join Date
    03-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    47

    Re: Conditional Formulas

    I am practicing questions given in class. I have an upcoming practical exam.

  15. #15
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Conditional Formulas

    I know you said an array formula, but here is a sumproduct version. I used 400 instead of 60 000 on your data because there are no values even close to 60 000....

    =SUMPRODUCT((B12:B63)*(E12:E63)*--(G12:G63="can")*--(H12:H63="filling")*((B12:B63)*(E12:E63)>400))

    As a test, use a helper column (I used I) and copy this down...
    =E12*B12

    Then for the total (to test), use this...
    =SUMIFS(I12:I63,H12:H63,"filling",G12:G63,"can",I12:I63,">400")

  16. #16
    Registered User
    Join Date
    03-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    47

    Re: Conditional Formulas

    Thank you, I also tried the testing with I and the alternative formula you suggested was good. I learnt something new.

  17. #17
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Conditional Formulas

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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] Conditional Formulas
    By spursrule68 in forum Excel General
    Replies: 4
    Last Post: 11-06-2012, 05:13 PM
  2. Conditional Formulas
    By haxmania1 in forum Excel General
    Replies: 15
    Last Post: 11-17-2008, 02:52 AM
  3. conditional formulas
    By shooter d in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2008, 07:54 PM
  4. [SOLVED] Conditional formulas with sum and if
    By jackie in forum Excel General
    Replies: 4
    Last Post: 10-04-2005, 02:05 PM
  5. Conditional IF formulas HELP!!
    By LostLady in forum Excel General
    Replies: 1
    Last Post: 05-17-2005, 02:08 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