+ Reply to Thread
Results 1 to 8 of 8

Wrong Formula

  1. #1
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Wrong Formula

    can anybody help me with the following formula, i think i got some thing wrong

    =IF([@Stock]<5000,([@Class]="Fast",10000, 5000),"0")

    the logic is if the stock is below 5000 and the items is classified as a fast moving item automated order of 10,000 should be placed otherwise 5000 if slow moving item, and if the stock is above 5000 no need to place the order.

    i hope i explained it well, thanks in advance

    Usman

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Wrong Formula

    Hi Usman,

    May be :-
    =IF(and([@Stock]<5000,[@Class]="Fast"),10000, 5000)

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Wrong Formula

    from dilip's


    =if([@Stock>4999,0,IF(and([@Stock]<5000,[@Class]="Fast"),10000,5000))
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  4. #4
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Wrong Formula

    thanks, i have already sorted it, anyway thanks for the advise i will keep this too

    many thanks once again for the quick response

  5. #5
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Wrong Formula

    Dilip have u looked at the other file i sent you, it was a part of it its already sorted but i am still struggling on the orders status, can you please help me on that part
    Quote Originally Posted by dilipandey View Post
    Hi Usman,

    May be :-
    =IF(and([@Stock]<5000,[@Class]="Fast"),10000, 5000)

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Wrong Formula

    Quote Originally Posted by usmanfarok View Post
    Dilip have u looked at the other file i sent you, it was a part of it its already sorted but i am still struggling on the orders status, can you please help me on that part
    has there been a change in rules about sending questions via PM?

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Wrong Formula

    Hi usmanfarok,

    Where you have sent the file?
    Suggest you to uplad the file. . while replying click on Go Advanced.and look for paper clip icon to attach. Thx

    Regards,
    DILIPandey

    <click on below star if this helps>

  8. #8
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Wrong Formula

    sorry i meant to say upload the file but said sent the file its is already uploaded in the following link

    http://www.excelforum.com/excel-gene...on-tricky.html

    hops you look at it.

    thanks in advance

    Usman

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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