BrandonBerner
New Member
- Joined
- Mar 16, 2019
- Messages
- 15
I'm back, with another headache haha.
I have 2 Sheets.
Sheet 1 - Is user-friendly
Sheet 2 - Is a database full of product information.
Sheet 1 currently looks like...
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][In Stock?][/TD]
[TD="align: center"][Product Name][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]Product #3[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]Product #2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]Product #4[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]Product #1[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 1 should look like...
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][In Stock?][/TD]
[TD="align: center"][Product Name][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]No Stock[/TD]
[TD="align: center"]Product #3[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]In Stock[/TD]
[TD="align: center"]Product #2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]In Stock[/TD]
[TD="align: center"]Product #4[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]No Stock[/TD]
[TD="align: center"]Product #1[/TD]
[/TR]
</tbody>[/TABLE]
Here are 2 NON-WORKING formula to explain what I'm trying to achieve...
Sheet 2 looks like...
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][Inventory Count][/TD]
[TD="align: center"][Product Name][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]Product #1[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]Product #2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]Product #3[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]Product #4[/TD]
[/TR]
</tbody>[/TABLE]
I have 2 Sheets.
Sheet 1 - Is user-friendly
Sheet 2 - Is a database full of product information.
Sheet 1 currently looks like...
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][In Stock?][/TD]
[TD="align: center"][Product Name][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]Product #3[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]Product #2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]Product #4[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]?[/TD]
[TD="align: center"]Product #1[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 1 should look like...
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][In Stock?][/TD]
[TD="align: center"][Product Name][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]No Stock[/TD]
[TD="align: center"]Product #3[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]In Stock[/TD]
[TD="align: center"]Product #2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]In Stock[/TD]
[TD="align: center"]Product #4[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]No Stock[/TD]
[TD="align: center"]Product #1[/TD]
[/TR]
</tbody>[/TABLE]
Here are 2 NON-WORKING formula to explain what I'm trying to achieve...
HTML:
IF B2=Sheet2!B2:B & If Sheet2!A2>=1, "In Stock", "No Stock"
HTML:
=COUNTIFS((B2,Sheet2!B2:B),MATCH(Sheet2!A2>=1), "In Stock", "No Stock")
Sheet 2 looks like...
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][Inventory Count][/TD]
[TD="align: center"][Product Name][/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]Product #1[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]Product #2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]Product #3[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]Product #4[/TD]
[/TR]
</tbody>[/TABLE]