LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Adding up various columns based on the value of one changing cell

I am trying to figure out the best way to calculate a year to date total in a
particular spreadsheet. Here is an example of what it looks like

Number of months 4
1 2 3 4 5 6
a 100 100 100 100 100 100
b 100 100 100 100 100 100
c 100 100 100 100 100 100
d 100 100 100 100 100 100
e 100 100 100 100 100 100
f 100 100 100 100 100 100
g 100 100 100 100 100 100

So what I need to do is find a formula that will go across each row and only
up the cells that are equal or less than the number of months number that has
been put in. So say for instance I want four months of data then each row
should bring back a value of 400 (100 for 1, 100 for 2, etc...) Please tell
me this is possible, it seems like it should be very simple but I can't
figure it out!!! Thank you for any help you can offer!
 
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
How can I increase the value in a cell based on the changing date Cray_z77 Excel Worksheet Functions 5 August 13th 07 04:59 PM
Changing background color based on different cell djarcadian Excel Discussion (Misc queries) 3 August 10th 06 10:44 PM
Formula for changing colour of a cell based on Neumeric VALUE Atul Shah Excel Discussion (Misc queries) 2 March 12th 06 07:44 PM
Changing values in a row based on a cell in the row. Casey Excel Discussion (Misc queries) 2 September 14th 05 03:23 PM
Changing display of decimal value based on the value in the cell K M Excel Worksheet Functions 3 April 3rd 05 06:49 PM


All times are GMT +1. The time now is 02:58 PM.

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"