+ Reply to Thread
Results 1 to 11 of 11

SUMIF statement for using two possible totals plus display ERROR if user error

Hybrid View

  1. #1
    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,964

    Re: SUMIF statement for using two possible totals plus display ERROR if user error

    Also, I think your formula in H55 could be simplified to this...
    =E55*C55*IF(B55="All",SUM($B$8:$B$10),VLOOKUP(B55,$A$8:$B$10,2,0))
    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

  2. #2
    Registered User
    Join Date
    07-26-2018
    Location
    Bristol, England
    MS-Off Ver
    Office365
    Posts
    8

    Re: SUMIF statement for using two possible totals plus display ERROR if user error

    Many thanks...this has worked.

    Surprised you cracked it with my vaguaries!
    Last edited by simongra; 07-26-2018 at 03:42 PM.

  3. #3
    Registered User
    Join Date
    07-26-2018
    Location
    Bristol, England
    MS-Off Ver
    Office365
    Posts
    8

    Re: SUMIF statement for using two possible totals plus display ERROR if user error

    Thanks...I will edit.

+ 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] User Form Facing Compile Error and Automation Error
    By bala04msw in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-14-2018, 01:05 PM
  2. [SOLVED] I get an error when I try to display a user form box?
    By redsab in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-26-2017, 11:49 AM
  3. Getting error User input data error. Sheet name requested does not exist.
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2016, 08:32 AM
  4. [SOLVED] Error Handling: Creating code to display error messages
    By Student1990 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-01-2013, 02:21 PM
  5. compile error - Using text box to display date in an user form
    By sivdin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2013, 04:02 AM
  6. File Not Found error when opening User Form - need help tracing root of error
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2013, 03:48 PM
  7. How can I see if another user has a workbook open and display an error message?
    By messyjessyr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2012, 01:32 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