index across multiple tables

Monica at Plastics

New Member
Joined
Apr 26, 2019
Messages
12
is it possible to use this layout (they are tables, I couldn't get it to paste that way) and have excel look at all the tables and return the header and amount under the header of that table only if it is greater than zero? The tables are on one tab and the results/totals are on a different tab.

I was able to bring back the correct results on the first table. I can't get it to go past that.

[TABLE="width: 889"]
<tbody>[TR]
[TD="colspan: 2"]BASE BID CABINETS[/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]UPGRADE TO CLEAR ALDER[/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]UPGRADE TO SHAKER DOOR[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]CABINET COST[/TD]
[TD="align: right"]$50.00[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]CABINET COST[/TD]
[TD="align: right"]$25.00[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]CABINET COST[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD="align: right"]25.00%[/TD]
[TD="align: right"]$12.50[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]25.00%[/TD]
[TD="align: right"]$6.25[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]25.00%[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD="align: left"]CABINET TOTAL[/TD]
[TD="align: right"]$62.50[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]CABINET TOTAL[/TD]
[TD="align: right"]$31.25[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]CABINET TOTAL[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD]TAX 7.75%[/TD]
[TD="align: right"]$4.84[/TD]
[TD][/TD]
[TD][/TD]
[TD]TAX 7.75%[/TD]
[TD="align: right"]$2.42[/TD]
[TD][/TD]
[TD][/TD]
[TD]TAX 7.75%[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD="align: left"]DELIVERY[/TD]
[TD="align: right"]$0.00[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]DELIVERY[/TD]
[TD="align: right"]$0.00[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]DELIVERY[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD="align: left"]INSTALL CABS[/TD]
[TD="align: right"]$0.00[/TD]
[TD]0[/TD]
[TD][/TD]
[TD="align: left"]INSTALL CABS[/TD]
[TD="align: right"]$0.00[/TD]
[TD]0[/TD]
[TD][/TD]
[TD="align: left"]INSTALL CABS[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD="align: left"]INSTALL TRIM[/TD]
[TD="align: right"]$0.00[/TD]
[TD]0[/TD]
[TD][/TD]
[TD="align: left"]INSTALL TRIM[/TD]
[TD="align: right"]$0.00[/TD]
[TD]0[/TD]
[TD][/TD]
[TD="align: left"]INSTALL TRIM[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD="align: left"]INSTALL HANDLES[/TD]
[TD="align: right"]$0.00[/TD]
[TD]0[/TD]
[TD][/TD]
[TD="align: left"]INSTALL HANDLES[/TD]
[TD="align: right"]$0.00[/TD]
[TD]0[/TD]
[TD][/TD]
[TD="align: left"]INSTALL HANDLES[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD="align: left"]INSTALL TOTAL[/TD]
[TD="align: right"]$0.00[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]INSTALL TOTAL[/TD]
[TD="align: right"]$0.00[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]INSTALL TOTAL[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD="align: left"]CONTINGENCY[/TD]
[TD="align: right"]$5.00[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]CONTINGENCY[/TD]
[TD="align: right"]$2.50[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]CONTINGENCY[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] Total Page[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]TOTAL[/TD]
[TD="align: right"]$72.34[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]TOTAL[/TD]
[TD="align: right"]$36.17[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]TOTAL[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
[TR]
[TD="align: left"]TOTAL W/ PULLS[/TD]
[TD="align: right"]$72.34[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]TOTAL W/ PULLS[/TD]
[TD="align: right"]$36.17[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]TOTAL W/ PULLS[/TD]
[TD="align: right"]$0.00[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 622"]
<tbody>[TR]
[TD]AREA[/TD]
[TD]DESCRIPTION[/TD]
[TD]TOTAL[/TD]
[/TR]
[TR]
[TD]*******[/TD]
[TD="align: left"]BASE BID CABINETS[/TD]
[TD]72.34 [/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: left"]UPGRADE TO CLEAR ALDER[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: left"]UPGRADE TO SHAKER DOOR[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hello Monica at Plastics and welcome to the forum! I think what you are asking is possible, if I understand it correctly. We probably need a little bit more information before we can make suggestions. Should the UPGRADE TO CLEAR ALDER = $31.25? What cell is that and where do you want that to show up? Hope this helps get things started.
 
Upvote 0
You are correct about the upgrades. the amounts are all in that row (26) on my spreadsheet. I need it to list the choices out on a different tab it looks like this but I only want it to list out IF that "total" cell for that table is greater than Zero.

[TABLE="width: 622"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AREA[/TD]
[TD]DESCRIPTION[/TD]
[TD]TOTAL[/TD]
[/TR]
[TR]
[TD]*******[/TD]
[TD]BASE BID CABINETS[/TD]
[TD]72.34 [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]UPGRADE TO CLEAR ALDER[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]UPGRADE TO SHAKER DOOR[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD](72.34)[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD](72.34)[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD](72.34)[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD](72.34)[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD](72.34)[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD](72.34)[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]0.00 [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]******* TOPS[/TD]
[TD]LAMINATE TOPS-WATERFALL EDGE[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]STANDARD COLORS[/TD]
[TD]0.00 [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]PREMIUM COLORS[/TD]
[TD]0.00 [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]HD/180FX COLORS[/TD]
[TD]0.00 [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]SINKS ADD TO EACH ABOVE PRICE [/TD]
[TD]0.00 [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]STONE COUNTERTOPS-SINKS INCLUDED[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]BUILDER LINE GRANITE[/TD]
[TD]0.00 [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]BUILDER LINE QUARTZ[/TD]
[TD]0.00 [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Hi Monica at Plastics - You might consider a formula like ->
=if(A1>0,A1,"")

If you place this formula in Cell B1, it will look in Cell A1 and place the value in B1 only if A1 > 0.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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