0 votes
in VBA by Beginner (26 points)

I have two sheets 
1. Output
2. Data

  •  i need to get the product code in Output sheet using VLOOKUP from Data sheet till LROW. (If Product code is not available in Data sheet cell should be blank in Output sheet)
  • add total amount in output sheet from Data sheet using SUMIFS till LROW.
Thank you !Test

1 Answer

0 votes
by Skilled (670 points)
You do not need VBA for this. You have already outlined the formulas for Output sheet.
by Beginner (26 points)
Yes,  formula will help to complete the above steps, but I'm looking for VBA for this to auto mate one repetitive task, as i have huge data and i have to do some other validation after these steps.

Thank you !
by Skilled (670 points)
Just a suggestion: Put the formulas in Output sheet, then use VBA for "some other validation."

Welcome to wellsr Q&A
wellsr Q&A is the VBA and Python programming community that rewards you for learning how to code.

Getting Started
VBA Cheat Sheets (On Sale Now)

Earn free prizes for asking VBA and Python questions and for answering questions asked by others in our community.

Looking for something else? Hire our professional VBA Help, instead.

What makes us different?
Our points system rewards you with a chance for free gifts based on the quality of your questions and answers. All you have to do is post and you could get rewarded, like these members:

ParserMonster $25 Amazon Gift Card
Hightree $10 Amazon Gift Card
Thales1 $10 Amazon Gift Card
runfunke $10 Amazon Gift Card
coolag $10 Amazon Gift Card
Siew Hun $10 Amazon Gift Card

So, why don't you join us? It really is an encouraging way to motivate members in our VBA and Python community.


For more programming tips visit the VBA Tutorials Blog and the Python Tutorials Blog.