LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Simple iteration problem

This is something else I desperately need help with at work, but just
can not figure it out. I THINK it is an iteration problem, but I am not
su

Cells A1:A500 contain numbers, all of them 5 or 6 figures.
Cell A501 contains the total of all those numbers, a simple autosum.

Cell B1 contains a number.

The problem:

When you enter a number in B1, all of the numbers in A1:A500 are
increased or decreased by the same amount, so that A501 = B1.

If it helps, these are all positive numbers (dollar amounts), and the
increments and decrements will be very small, maybe a few hundred or a
thousand dollars or so. None of them will fly off into the negatives or
anything like that.

I am thinking of it taking the total of the current numbers and finding
the difference between that and the amount in B1. Then take that
difference and add or subtract it from the numbers in A1:A500...
something like that. But I just can not seem to nail it.

Thanks very much,
Ron M.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM
Iteration problem (Excel 2002) Stefan Kasserra Excel Worksheet Functions 1 July 17th 06 11:38 PM
Help requested for Excel Iteration problem Sree Excel Discussion (Misc queries) 2 June 22nd 06 09:54 PM
Frustrating Boolean/loop iteration problem carg1[_16_] Excel Programming 2 May 11th 06 10:21 PM
Frustrating Boolean/loop iteration problem carg1[_15_] Excel Programming 2 May 5th 06 11:10 PM


All times are GMT +1. The time now is 06:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"