Hi Gurus,
I would need your help on building a code that combines SUMIF and Vlookup on Excel VBA.
I have a Table named StoreRecords, with one column for Store Locations and another column for Daily Sales.
Now, what I'm trying to accomplish is to create a userform with combo box that will return unique store names and one textbox or label text that will display its total sales for the month
ex.
StoreRecords
Num# Store Locations Daily Sales
1 UK $100
2 USA $150
3 UK $130
4 UAE $160
so, if I select UK from the dropdownbox,
it should return a value of $230
I would need your help on building a code that combines SUMIF and Vlookup on Excel VBA.
I have a Table named StoreRecords, with one column for Store Locations and another column for Daily Sales.
Now, what I'm trying to accomplish is to create a userform with combo box that will return unique store names and one textbox or label text that will display its total sales for the month
ex.
StoreRecords
Num# Store Locations Daily Sales
1 UK $100
2 USA $150
3 UK $130
4 UAE $160
so, if I select UK from the dropdownbox,
it should return a value of $230