i am a rookie at using code in excel, but i think this is the only way to make happen what i want to happen.
I have a main page where i enter different amounts in column G... about ten of them... then i have 10 seperate sheets, each sheet looks at a single amount... in the individual sheets, they have different allocation tables... so we'll just focus on one sheet for now.
Sheet Z has "51.03" in E1, this is the amount entered from the main sheet. A1 through E37 is the allocation table, basically i have to divide 51.03 by the number of rows in the allocation table... i have set it to round to the 2nd decimal... but i still have to manually go into the table and change some of the rows to either round up or round down, so it matches 51.03 exactly. i do have conditional formatting setup so that i know when it is matched exactly.
now to make a short story long...
What i would like to do is somehow set up the sheets so that if the sum total of the table (E38) doesn't match E1 then turn the color of the tab red. i know i'll have to run a macro to get it to work, but i thought it would be fun to have the code to do that...
any takers?
Thanks,
Smiley![[elf] [elf] [elf]](/data/assets/smilies/elf.gif)
I have a main page where i enter different amounts in column G... about ten of them... then i have 10 seperate sheets, each sheet looks at a single amount... in the individual sheets, they have different allocation tables... so we'll just focus on one sheet for now.
Sheet Z has "51.03" in E1, this is the amount entered from the main sheet. A1 through E37 is the allocation table, basically i have to divide 51.03 by the number of rows in the allocation table... i have set it to round to the 2nd decimal... but i still have to manually go into the table and change some of the rows to either round up or round down, so it matches 51.03 exactly. i do have conditional formatting setup so that i know when it is matched exactly.
now to make a short story long...
What i would like to do is somehow set up the sheets so that if the sum total of the table (E38) doesn't match E1 then turn the color of the tab red. i know i'll have to run a macro to get it to work, but i thought it would be fun to have the code to do that...
any takers?
Thanks,
Smiley
![[elf] [elf] [elf]](/data/assets/smilies/elf.gif)