Round range of cells to equal another cell

Ace71425

Board Regular
Joined
Apr 20, 2015
Messages
130
Hello...I have let's just say 5 cells that are .37, .22, 1.35, .50, .56 which equals the value of another cell in this case 4. Now I need those 5 cells rounded up or down to the nearest .25 but I still need them to equal the other cell 4. How do I put in a round formula that rounds some of the cells conditionally so that the end result equals 4?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Shg looks like he's on the right path I'll try it in a minute @spiller everything we do has to be broken down based on the type of work we do so like area2, area4, so on and so forth
 
Upvote 0
shg....unless im doing something wrong with that it worked the first time perfectly but now when I keep playing around with it it seems to be off by .25 like everything....close though!
 
Upvote 0
Row\Col
A​
B​
C​
D​
1​
Project
Inp
Out
2​
Project1
0.52​
0.50​
C2: =MROUND(B2 / ($B$9 - SUM(B$1:B1)) * ($B$9 - SUM(C$1:C1)), 0.25)
3​
Project2
0.32​
0.25​
4​
Project3
0.74​
0.75​
5​
Project4
0.78​
0.75​
6​
Project5
1.12​
1.25​
7​
Project6
2.52​
2.50​
8​
Project7
6.00​
6.00​
9​
Total
12.00​
12.00​
 
Upvote 0
shg I got it working....I wasnt upping the b1 and c1 as the fields went along....brilliant answer my friend...I greatly appreciate it!
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,796
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top