ninjalearner
New Member
Dear All,
I have a table that looks like the one i posted here. My aim is to pick information from the qty column and take their correspondent data and present them in a separate sheet as a summary report.
What i have been able to do is to set each row range here to where i want them to report in the summary sheet. but i have realised that if i encounter a huge database i will not be able to set ranges one by one. I am therefore in need of an example code that can loop through all the cells in qty column and march the contents of ecah cell that has value with its corresponding product name and stock value then present them in the result sheet.
Stock Items Stock Value Stock Qty
YellowBook $200.00
IZAP $120.00 25
Mailer $340.00 32
Installer Pro $600.01
HP Deskjet $201.00 60
Robims Amp $742.00
Show Musical $820.00 56
LG QuickPto $50.00 68
Victura $20.00
This is what i am looking at the solution to look like
For Each cell in Range("C2:---")
If c.value>= 1 Then:"How do i pick each cell value and and their corresnponding values of cell a and cell b from here and place in my summary sheet?
I have a table that looks like the one i posted here. My aim is to pick information from the qty column and take their correspondent data and present them in a separate sheet as a summary report.
What i have been able to do is to set each row range here to where i want them to report in the summary sheet. but i have realised that if i encounter a huge database i will not be able to set ranges one by one. I am therefore in need of an example code that can loop through all the cells in qty column and march the contents of ecah cell that has value with its corresponding product name and stock value then present them in the result sheet.
Stock Items Stock Value Stock Qty
YellowBook $200.00
IZAP $120.00 25
Mailer $340.00 32
Installer Pro $600.01
HP Deskjet $201.00 60
Robims Amp $742.00
Show Musical $820.00 56
LG QuickPto $50.00 68
Victura $20.00
This is what i am looking at the solution to look like
For Each cell in Range("C2:---")
If c.value>= 1 Then:"How do i pick each cell value and and their corresnponding values of cell a and cell b from here and place in my summary sheet?