Hi everyone,
So I had an idea, and for argument's sake I'll use product pricing to elaborate on it.
-Say you got 6 Columns (A -> Product Name, B-> Date/Time, C-> Price, D-> 1st Formula, E-> 2nd Formula, F -> Check Formula)
- Columns A,B,C are just standard data, no duplicates (Sorted by Product and Date/Time, Ascending)
- Column D contains a formula to check the price of a product and its date/time to make sure its the first price received for that given date.
-- INDEX($A$2:$C$100,MATCH($A2,$A$2:$A$100,0),3)
-Column E does the opposite of Colunmn D, and checks for the last price received for a product on a given date/time
-- LOOKUP(2,1/($A$2:$A$100=$A2),$C$2:$C$100)
- Column F : A simple check to pin point price increases for a product:
-- IF($E2 > $D2,1,0)
The Dilemna:
Anyone got any ideas how to make an alert box come up to notify the user that a price increase has been detected by checking for "1"s in column F.
--- OR ---
Mayhaps pop up a form with a Listview displaying all detected increases with their Row information (Name,Date,Price,etc)...
I haven't worked on it yet, just wanted to put it out there if anyone would like to give it a try with me.
For arguments sake, say the database linking the data is on a 30min refresh timer (to help activate the VBA code checks to pop up alerts).
Should be fun, I'm gona try it tomorrow.
Regards,
Nacky
So I had an idea, and for argument's sake I'll use product pricing to elaborate on it.
-Say you got 6 Columns (A -> Product Name, B-> Date/Time, C-> Price, D-> 1st Formula, E-> 2nd Formula, F -> Check Formula)
- Columns A,B,C are just standard data, no duplicates (Sorted by Product and Date/Time, Ascending)
- Column D contains a formula to check the price of a product and its date/time to make sure its the first price received for that given date.
-- INDEX($A$2:$C$100,MATCH($A2,$A$2:$A$100,0),3)
-Column E does the opposite of Colunmn D, and checks for the last price received for a product on a given date/time
-- LOOKUP(2,1/($A$2:$A$100=$A2),$C$2:$C$100)
- Column F : A simple check to pin point price increases for a product:
-- IF($E2 > $D2,1,0)
The Dilemna:
Anyone got any ideas how to make an alert box come up to notify the user that a price increase has been detected by checking for "1"s in column F.
--- OR ---
Mayhaps pop up a form with a Listview displaying all detected increases with their Row information (Name,Date,Price,etc)...
I haven't worked on it yet, just wanted to put it out there if anyone would like to give it a try with me.
For arguments sake, say the database linking the data is on a 30min refresh timer (to help activate the VBA code checks to pop up alerts).
Should be fun, I'm gona try it tomorrow.
Regards,
Nacky