+ Reply to Thread
Results 1 to 6 of 6

If formula problem -

Hybrid View

  1. #1
    Registered User
    Join Date
    06-14-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    35

    Unhappy If formula problem -

    Hi guys,

    I am stuck again and back where I have always found my answers thanks to you guys.

    So here is the problem. In the attached file - I need the "Total Case" [column H] automated so that there is no manual entry on the form. The total case is dependent upon the "Quantity Ordered" [column D]. And the quantity per case is dependent upon "Size" [Column C].

    Basically if the size is below (<) 500 then there are 24 quantities in a case. If the size is 500 & above then there are 12 quantities in a case.

    For example if the "Size" is 100 then there will be 24 quantities in a case. So if the "Quantity Ordered" is 96 and the "Size" is 100, then the total case will be 4 cases (96 divided by 24).. Likewise if the "Size" is 1000 (remember 12 quantities in a case for 500 quantities & above) and the "Quantity Ordered" is 96 then the result will be 8 cases (96 divided by 12).

    Basically I want that Column H under "Total Case" to be automated. Also I would like to note that Column C below "Size" is a drop-down menu.

    P.S = If the value in Column C is "BULK" from the drop-down menu then the Value under "Total Case" needs to be Zero or Blank.

    How can I put a function so that this entire thing is automated.

    Please help! I am stuck ahead of a brick wall.

    THANKS a lot in advance!
    Attached Files Attached Files
    Last edited by aalim95; 05-06-2014 at 11:17 AM.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: If formula problem -

    May be this......

    In H12.....

    =IF(D12="","",IF(C12<500,D12/24,D12/12))
    and then drag down.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    06-14-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: If formula problem -

    Man,

    It works like a CHARM!

    Thank you so much

    Have a great day !!!!!!!!!!!!!!

  4. #4
    Registered User
    Join Date
    06-14-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: If formula problem -

    Hi Thanks,

    One last issue is the selection of BULK under "Size"

    If the user selects "BULK" then Total Case should result ZERO or NIL.

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: If formula problem -

    Try this......

    =IF(D12="","",IF(C12="BULK","ZERO",IF(C12<500,D12/24,D12/12)))
    Or

    =IF(D12="","",IF(C12="BULK","Nil",IF(C12<500,D12/24,D12/12)))

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: If formula problem -

    Glad to help you. Thanks for the feedback.
    If that takes care of your question, please mark your thread as solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks to them.

+ 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. Replies: 1
    Last Post: 01-06-2014, 03:54 AM
  2. Replies: 7
    Last Post: 02-03-2013, 06:25 PM
  3. Replies: 2
    Last Post: 01-22-2013, 07:09 AM
  4. Problem reading formula with ActiveCell.Formula
    By Matija in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2011, 06:10 AM
  5. Formula problem.
    By Bill R in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-14-2005, 11:25 PM

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