steveh8204
Board Regular
- Joined
- Aug 20, 2018
- Messages
- 151
https://drive.google.com/open?id=1TfqRi0g6FwDCY0iNOfVWOyLhAXgBPygR
I'm trying to write a VBA sub to look up the value of two references on different sheets. The problem I've got is the value being looked up has entries in more than one row which I believe is difficult for this command.
I was hoping to use a given number, look it up and gain every quantity for the value with a date range that hasn't occurr
ed yet (highlighted in yellow on attached picture).
Has anyone got any advice on the best way to do this.
So to clarify I need a number from Sheet B (which also has a total quantity) and look it up in the table pictured adding up all the values from dates in the past (which in this example would total 2,030,938). I know what you are thinking, I'm not asking for much. I've tried to learn everything from other resources but it's proved to be too much for my relatively new VBA knowledge base.
Thanks in advance for any help.
I was hoping to use a given number, look it up and gain every quantity for the value with a date range that hasn't occurr
Has anyone got any advice on the best way to do this.
So to clarify I need a number from Sheet B (which also has a total quantity) and look it up in the table pictured adding up all the values from dates in the past (which in this example would total 2,030,938). I know what you are thinking, I'm not asking for much. I've tried to learn everything from other resources but it's proved to be too much for my relatively new VBA knowledge base.
Thanks in advance for any help.
Last edited: