|
|||||||||||||||||||||
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Divide a given value into several cells
If I have a value of lets say 53, I need it broken down into equal and whole numbers across the spread sheet with the last one being the remaining value.
Currently for example in cell F5 I have a value of 41 that I need to break down so I have done the following: In Cell P5 =IF(F5>=25,F5-21,F5) Then in Cell Z5 =IF(P5>=25,P5-21,P5) and this goes on until I have zero value from the original value in the last cell can i not do this all in one formula and have the results populate in other cells. Thank you for any help you can provide Last edited by REHNGA; 10-11-2008 at 10:28 AM. Reason: Solved |
|
#2
|
|||
|
|||
|
Do you need to specify how many cells to take up? In other words, you could split up 41 either into "10 10 10 10 1" or "5 5 5 5 5 5 5 5 1"
|
|
#3
|
||||
|
||||
|
Rehnga, formulas cannot populate other cells, only the cell they are in. You could use a macro to do your calculations and insert the appropriate values in your cells without using formulas, though.
|
|
#4
|
|||
|
|||
|
No I have no limit on the number of cells but it seems my question has been answered as Paul has pointed out formula will not populate other cells only the one it is in.
Thus it seems I will need to go to VBA for this, a macro will be OK for only one instance not multiple divide if I am thinking right. Thank you for your input |
![]() |
| Bookmarks |
New topics in Excel Miscellaneous
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Count including Blank Cells | bhofsetz | Excel Worksheet Functions | 10 | 02-27-2008 05:47 PM |
| Averaging non continuous cells, and ignoring cells with errors | bog3494 | Excel Worksheet Functions | 3 | 02-27-2008 02:06 PM |
| Adding adjacent cells when value of cells is the same | mike d | Excel Worksheet Functions | 1 | 02-15-2008 05:45 AM |
| Macro to Lock cells in protected sheet depending on criteria | Zyphon | Excel Programming | 15 | 01-30-2008 12:00 PM |
| Counting occurence of multiple cells containing data | BrakZak | Excel General | 8 | 11-08-2007 09:52 AM |