Hi All,
Ok, here is the deal. I'll be as short and succinct as I can. I need to find a way to change the core values of cells. For example, let's say I have 5 cells with the following values-- 23, 46, 67, 12 and 56, which add up to 204. Once we have the total, I now need to change the actual values so they equal 250. Next I have to spread the difference, or 46 (250-204) across the five cells.
I can use any combination of numbers to get to the target of 250. I can add 6 to the 23, leaving a balance of 40. Then add 15 to the 67, leaving 25 and so forth. Hopefully you get the point. It's tough to detail everything in a small amount of space.
My bet is the solution entails creating a macro. Problem is I'm not great with VBA. If anyone has any solutions, I'm all ears.
And in case you are wondering why this needs to be done. Thank one of our clients. They send us the raw numbers, want everything rounded (using Mround function) and create reports using the altered numbers. Yeah, I don't get it either...
Thanks!!!!
Ok, here is the deal. I'll be as short and succinct as I can. I need to find a way to change the core values of cells. For example, let's say I have 5 cells with the following values-- 23, 46, 67, 12 and 56, which add up to 204. Once we have the total, I now need to change the actual values so they equal 250. Next I have to spread the difference, or 46 (250-204) across the five cells.
I can use any combination of numbers to get to the target of 250. I can add 6 to the 23, leaving a balance of 40. Then add 15 to the 67, leaving 25 and so forth. Hopefully you get the point. It's tough to detail everything in a small amount of space.
My bet is the solution entails creating a macro. Problem is I'm not great with VBA. If anyone has any solutions, I'm all ears.
And in case you are wondering why this needs to be done. Thank one of our clients. They send us the raw numbers, want everything rounded (using Mround function) and create reports using the altered numbers. Yeah, I don't get it either...
Thanks!!!!