Hi There
I'm wanting to return a warehouse number (Cells G18-L18) on another sheet from a lot ID number (Column F) and a stock value (columns G-L)
What formula should I use for this?
Any help appreciated
image001.png
Thanks
Hi There
I'm wanting to return a warehouse number (Cells G18-L18) on another sheet from a lot ID number (Column F) and a stock value (columns G-L)
What formula should I use for this?
Any help appreciated
image001.png
Thanks
Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
warehouse number.xlsx hopefully this works
Welcome to the forum.
You could try:
=FILTER(G18:L18,FILTER(G19:L26,F19:F26=A1)<>"")
where A1 is a cell containing the lot number.
If you can't implement this, provide a workbook as requested above.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
For the sample workbook:
=FILTER(G2:L2,FILTER(G3:L12,F3:F12="4431600316")<>"")
Just for fun:
Formula:
Please Login or Register to view this content.
Thanks for the replies
Apologies I missed out some detail, attached corrected sheet below
I am looking to do this across two sheets
In the Warehouse return sheet column B I am wanting to return the warehouse number based on the lot ID number in column H
The lot id will have a match in the SOH sheet column F and will have a value (greater than 0) in cells G3 to L12 with a corresponding warehouse number in the same column as the cell with the value, in this example it would return cell H2 (whs 200)
warehouse number v2.xlsx
Were you really not able to adapt what I gave you?
=FILTER(SOH!G2:L2,FILTER(SOH!G3:L12,SOH!F3:F12=H6)<>"")
Anchor the ranges if you want to copy the formula up/down:
=FILTER(SOH!$G$2:$L$2,FILTER(SOH!$G$3:$L$12,SOH!$F$3:$F$12=H6)<>"")
For mine, in B2 copied down:Formula:
Please Login or Register to view this content.
If you need anything explaining, please just shout.
If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.
Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks