I am only a novice user & I would like to create a Macro that will automatically enter a price based on a zip code. I am using Excel 2002 on Windows XP Pro. I am a contractor with several subcontractors who work for me in different areas of the state of Texas. When I receive a statement from my company it only shows me the zip codes and the rate I am paid & I have to re-do the Excel spreadsheet & separate the subs by contractor numbers & then set the pricing by zip codes for the rate I pay those subs. I would like to take the statement I receive (in Excel format) & resort by Sub # & reset their rates.
EXAMPLE:
My Sub
Rate Sub # Zip Rate
$9.00 1486-10 76801 8.00
$9.00 1486-10 76802 8.00
$9.00 1486-10 76821 8.00
$9.00 1486-10 76823 8.00
$9.00 1486-10 76825 8.00
$9.00 1486-10 76837 8.00
$15.00 1486-10 76837 13.00
$9.00 1486-10 76864 8.00
$9.00 1486-10 76877 15.00
$9.00 1486-10 76903 8.00
$9.00 1486-10 76904 8.00
$9.00 1486-10 76905 8.00
$9.00 1486-10 76943 15.00
$9.00 1486-10 78643 15.00
$9.00 1486-10 79511 8.00
$9.00 1486-10 79512 8.00
$9.00 1486-10 79525 8.00
$9.00 1486-10 79536 7.00
$9.00 1486-10 79541 7.00
$9.00 1486-10 79549 8.00
$9.00 1486-10 79553 8.00
$9.00 1486-10 79556 8.00
$9.00 1486-10 79562 7.00
$9.00 1486-10 79601 7.00
$9.00 1486-10 79602 7.00
$9.00 1486-10 79603 7.00
$9.00 1486-10 79605 7.00
$9.00 1486-10 79606 7.00
Some zip codes are paid at different rates based on the zip code & the type of task to perform. For example, my rate for one zip code may vary based on the task. (see 76837 above) So it is feasable that one zip code may have different rates based on the task. Is there a way to have a macro apply the "If X is blank, then y = blank principle?" i.e. If column B (my rate) is "X" and column D (zip) is 79606 then column E = Sub's rate (based on type of task & zip)?
I am having to manually look at each task, zip & rate & set the sub's rate & it can be very tedious. I have tried to do this on my own but I just cannot get the hang of macros or formulas.
Thanks,
Bob
EXAMPLE:
My Sub
Rate Sub # Zip Rate
$9.00 1486-10 76801 8.00
$9.00 1486-10 76802 8.00
$9.00 1486-10 76821 8.00
$9.00 1486-10 76823 8.00
$9.00 1486-10 76825 8.00
$9.00 1486-10 76837 8.00
$15.00 1486-10 76837 13.00
$9.00 1486-10 76864 8.00
$9.00 1486-10 76877 15.00
$9.00 1486-10 76903 8.00
$9.00 1486-10 76904 8.00
$9.00 1486-10 76905 8.00
$9.00 1486-10 76943 15.00
$9.00 1486-10 78643 15.00
$9.00 1486-10 79511 8.00
$9.00 1486-10 79512 8.00
$9.00 1486-10 79525 8.00
$9.00 1486-10 79536 7.00
$9.00 1486-10 79541 7.00
$9.00 1486-10 79549 8.00
$9.00 1486-10 79553 8.00
$9.00 1486-10 79556 8.00
$9.00 1486-10 79562 7.00
$9.00 1486-10 79601 7.00
$9.00 1486-10 79602 7.00
$9.00 1486-10 79603 7.00
$9.00 1486-10 79605 7.00
$9.00 1486-10 79606 7.00
Some zip codes are paid at different rates based on the zip code & the type of task to perform. For example, my rate for one zip code may vary based on the task. (see 76837 above) So it is feasable that one zip code may have different rates based on the task. Is there a way to have a macro apply the "If X is blank, then y = blank principle?" i.e. If column B (my rate) is "X" and column D (zip) is 79606 then column E = Sub's rate (based on type of task & zip)?
I am having to manually look at each task, zip & rate & set the sub's rate & it can be very tedious. I have tried to do this on my own but I just cannot get the hang of macros or formulas.
Thanks,
Bob