Find a value in a table

CFI_Pigman

New Member
Joined
Mar 3, 2015
Messages
6
I've done this before, but it is amazing how you can draw a blank and also not find the file where the formula was used years earlier...I have a sheet where I would like to update a bin list in column J and what is in the bin in column K. Columns A, C and E would be the table where I would apply the bin # to the product. There are multiple columns so I can then calculate volumes.

I simply wish to have column K update any time I change the value in A, C or E...using a formula, not VBA


[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[TD]g[/TD]
[TD]h[/TD]
[TD]i[/TD]
[TD]j[/TD]
[TD]k[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Bin[/TD]
[TD]Product[/TD]
[TD]Bin [/TD]
[TD]Product[/TD]
[TD]Bin[/TD]
[TD]Product[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Bin List[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]P4[/TD]
[TD]Corn[/TD]
[TD]P6[/TD]
[TD]Corn[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]P3[/TD]
[TD]Wheat[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P3[/TD]
[TD]Wheat[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P4[/TD]
[TD]Corn[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P6[/TD]
[TD]Corn[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P7[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P8[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P9[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]P10[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Thanks in advance.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
If you have the TEXTJOIN function, in K2 control+shift+enter, not just enter, and copy down:

=TEXTJOIN(", ",TRUE,IF("|"&$A$2:$E$11&"|"="|"&J2&"|",IF(1-($B$2:$F$11=""),$B$2:$F$11,""),""))
 
Upvote 0
Thank you for reply...My apologies I should mention Excel 2010...I do not have the new TextJoin function

Regards
 
Upvote 0
yes...I have 50+ bins with a unique identification. Each bin can never have 2 products in it, but I could have 4 different bins filled with the same product for storage. I don't show it but the products are listed in each row from A2 down and I keep the same product in its specific row...the Bin List is located on the same page. My goal is to input the bin # to identify that I have added product to it or changed its location...then the bin list will automatically update with what product is now in that bin. In the past I've used Sumproduct with Match and Index...but I'm not having success.
 
Upvote 0
In K2 control+shift+enter, not just enter, and copy down:

=IF(COUNTIF($A$2:$F$11,J2),INDEX($A$2:$F$11,MIN(IF($A$2:$F$11=J2,ROW($A$2:$F$11)-ROW($A$2)+1)),1+MIN(IF($A$2:$F$11=J2,COLUMN($A$2:$F$11)-COLUMN($A$2)+1))),"")
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top