+ Reply to Thread
Results 1 to 5 of 5

Finding package details.

  1. #1
    Registered User
    Join Date
    05-17-2012
    Location
    Lexington KY
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Finding package details.

    I知 working on an excel (2010) sheet that I want excel to look for the letter following the item# and if it ends in B then return one value if it ends is C return another value.

    Example
    A1 contains item 0123456789C and the quantity ordered in cell E8/D8= less than or equal to 20 (cartons that痴 what the C stands for) then return item should be B pack or Bulk pack. I知 not sure I知 going about this the correct way so any alternative suggestions would be great. This is the formula I知 currently using. =IF(ISNUMBER(SEARCH("C",B8)),E8/D8,0)=AND(IF(E8/D8>20,E8/D8,"B Pack Needed")). But it痴 returning a false statement for 21/1.
    Attached is a copy of the excell form.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Finding package details.

    Try =IF(AND(RIGHT(B8,1)="C",D8<=20,E8<=20),"Bulk Pack","")

    If you didn't mention what you want to do with other scenarios, so I stop right there.

  3. #3
    Registered User
    Join Date
    05-17-2012
    Location
    Lexington KY
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Finding package details.

    If I understand correctly by other scenarios you’re referring to what if cell B8 ends in B then I want the value of E8/D8 to be the Bulk quantity in cell HI. From there I have a vlookup that will give me the Box size and quantity of boxes on sheet 2 Vlookup tables. See attachment for examples.

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Finding package details.

    My bad. I interpret E8/D8 as E8 or D8 haha.. Let's try again

    =IFERROR(IF(AND(E8/D8<=20,RIGHT(B8,1)="C"),"B Pack Needed","B Pack Not Needed"),"")
    Last edited by JieJenn; 05-19-2012 at 10:48 AM.

  5. #5
    Registered User
    Join Date
    05-17-2012
    Location
    Lexington KY
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Finding package details.

    Awesome thank you very much with just a little tweaking as I’m sure you intended It works great.
    Thank you for taking the time to help me with this you have been a great help.
    My end formula incase you want to see is =IFERROR(IF(AND(E8/D8<=20,RIGHT(B8,1)="C"),E8/D8,0),"") for carton pack and =IFERROR(IF(AND(E8/D8>=21,RIGHT(B8,1)="B"),E8/D8,0),"") for bulk pack. Thank you again and you have a great weekend.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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