Krishnab4u
New Member
- Joined
- Jul 16, 2018
- Messages
- 34
Dear All,
say i have a model master like below
[TABLE="width: 500"]
<tbody>[TR]
[TD]Model Code[/TD]
[TD]Model Name[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]mustang[/TD]
[/TR]
[TR]
[TD]4321[/TD]
[TD]fortuner[/TD]
[/TR]
</tbody>[/TABLE]
i have a table like below, where i have to capture the quantity of stock of each model name from Database
[TABLE="width: 500"]
<tbody>[TR]
[TD]Model Name[/TD]
[TD]Stock Quantity[/TD]
[/TR]
[TR]
[TD]Mustang[/TD]
[TD]=Countif(??) (status as Stock only)[/TD]
[/TR]
[TR]
[TD]Fortuner[/TD]
[TD]=Countif(??) (status as Stock only)[/TD]
[/TR]
</tbody>[/TABLE]
however, my database will have only Model Code like below
[TABLE="width: 500"]
<tbody>[TR]
[TD]model code[/TD]
[TD]color[/TD]
[TD]status[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]white[/TD]
[TD]Stock[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]blue[/TD]
[TD]Invoiced[/TD]
[/TR]
[TR]
[TD]4321[/TD]
[TD]red[/TD]
[TD]Stock[/TD]
[/TR]
</tbody>[/TABLE]
One simpler way is i can do vlookup with my Model Master to add Model Name as last column in Database.
I dont want to do that for some reason.
Kindly help.
****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">[TABLE="width: 500"]
<tbody>[TR]
[TD]Model Name[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]mustang[/TD]
[/TR]
[TR]
[TD]4321[/TD]
[TD]fortuner[/TD]
[/TR]
</tbody>[/TABLE]
</body>
say i have a model master like below
[TABLE="width: 500"]
<tbody>[TR]
[TD]Model Code[/TD]
[TD]Model Name[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]mustang[/TD]
[/TR]
[TR]
[TD]4321[/TD]
[TD]fortuner[/TD]
[/TR]
</tbody>[/TABLE]
i have a table like below, where i have to capture the quantity of stock of each model name from Database
[TABLE="width: 500"]
<tbody>[TR]
[TD]Model Name[/TD]
[TD]Stock Quantity[/TD]
[/TR]
[TR]
[TD]Mustang[/TD]
[TD]=Countif(??) (status as Stock only)[/TD]
[/TR]
[TR]
[TD]Fortuner[/TD]
[TD]=Countif(??) (status as Stock only)[/TD]
[/TR]
</tbody>[/TABLE]
however, my database will have only Model Code like below
[TABLE="width: 500"]
<tbody>[TR]
[TD]model code[/TD]
[TD]color[/TD]
[TD]status[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]white[/TD]
[TD]Stock[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]blue[/TD]
[TD]Invoiced[/TD]
[/TR]
[TR]
[TD]4321[/TD]
[TD]red[/TD]
[TD]Stock[/TD]
[/TR]
</tbody>[/TABLE]
One simpler way is i can do vlookup with my Model Master to add Model Name as last column in Database.
I dont want to do that for some reason.
Kindly help.
****** id="cke_pastebin" style="position: absolute; top: 0px; width: 1px; height: 1px; overflow: hidden; left: -1000px;">[TABLE="width: 500"]
<tbody>[TR]
[TD]Model Name[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]mustang[/TD]
[/TR]
[TR]
[TD]4321[/TD]
[TD]fortuner[/TD]
[/TR]
</tbody>[/TABLE]
</body>