+ Reply to Thread
Results 1 to 4 of 4

Stock advisory based on four variables; Urgent, Advice, Not needed and "-"

Hybrid View

  1. #1
    Registered User
    Join Date
    03-09-2017
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    19

    Stock advisory based on four variables; Urgent, Advice, Not needed and "-"

    Thank you for having a look at these nested IF functions, im stuck.

    I have three columns, minimum stock, maximum stock, actual stock.

    If Actual Stock is SAME or SMALLER than Minimum Stock; it should say Urgent
    If Actual Stock is LOWER than Maximum Stock but GREATER than Minimum Stock it should say; Advice
    If Actual Stock is SAME or GREATER than Maximum Stock; it should say Not needed.
    If Minimum stock is 0 it should say; "-"

    In the attachement i made a small setup, where I got the help from "thatAndyWard", i have re-posted this because i didnt have the fourth variable earlier.
    Im reposting it in here because it was posted in the wrong segment, so that's why im having another go with you guys and girls.

    Thank you all for having a look, but more; advice and actual help!
    Attached Files Attached Files

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Stock advisory based on four variables; Urgent, Advice, Not needed and "-"

    IN I11 and down:
    =IF(E11=0,"-",IF(G11<=E11,"Urgent",IF(G11<F11,"Advice","Not Needed")))
    Row\Col
    C
    D
    E
    F
    G
    H
    I
    10
    MIN MAX STOCK
    11
    Battery 12V
    1
    5
    1
    Urgent
    12
    Battery AA
    1
    5
    3
    Advice
    13
    Battery AAA
    1
    5
    5
    Not Needed
    14
    Battery 9V
    0
    5
    0
    -


    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 06-16-2017 at 09:56 AM.

  3. #3
    Registered User
    Join Date
    03-09-2017
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    19

    Re: Stock advisory based on four variables; Urgent, Advice, Not needed and "-"

    Thank you, but since we are working in different language versions, can I politly ask you to upload the worksheet for me again?

    This way it gets auto-translated by Excel.

    By altering it towards my Excel, it doesnt give me the proper functioning.
    furthermore, but maybe it isn't needed anymore, im missing; IF(AND.
    (Supplied by thatANdyWard, earlier, Im hoping his formula just needs a little re-working.)

    So please re-up the worksheet for me, so i can have a look Dear Leelnich

    Thank you for looking into the matter though!
    Last edited by Excell_Ensie; 06-16-2017 at 10:02 AM.

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Stock advisory based on four variables; Urgent, Advice, Not needed and "-"

    If a test yields FALSE, the negative of the same condition is always TRUE, so there's no need to test for it.

    =IF(E11=0,"-",IF(G11<=E11,"Urgent",IF(G11<F11,"Advice","Not Needed")))

    =IF(E11=0,"-",[else E11<>0]IF(G11<=E11,"Urgent",[else E11<>0 AND G11>E11]IF(G11<F11,"Advice",[else E11<>0 AND G11>E11 AND G11>=F11]"Not Needed")))

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Attached Files Attached Files
    Last edited by leelnich; 06-16-2017 at 10:21 AM.

+ 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] Stock advisory based on three variables; urgent, advice, not needed
    By Excell_Ensie in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-16-2017, 10:13 AM
  2. [SOLVED] if formula needed to populate either "1" or "0" based on number of units in another cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-07-2015, 11:24 AM
  3. [SOLVED] Help Needed Urgent with Macro to copy cells to new sheet if cell="y"
    By Amanda, in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 08-28-2014, 04:18 PM
  4. [SOLVED] URGENT help needed with calculating duration using "yyyy/mm/dd hh:mm:ss"
    By Shenti in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-07-2012, 06:16 AM
  5. Advisory "window" that appears when opening a spreadsheet
    By headbanger51 in forum Excel General
    Replies: 3
    Last Post: 01-13-2008, 02:17 PM
  6. Urgent Help Needed "Re-orient data"
    By barkiny in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2006, 06:29 AM
  7. Advice needed: "Portable" macros?
    By durex in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2005, 07:05 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