PC Review


Reply
Thread Tools Rate Thread

determine a range using a formula

 
 
Jonathon Shull
Guest
Posts: n/a
 
      30th Apr 2010
I have a spreadsheet with budgeted financial data in columns, the heading for
each column is a 3 letter monthly abbreviation. Each month actual financial
data is entered in a corresponding table. I want to build an automated array
for the YTD budgeted data based on one cell in the spreadsheet, the currrent
month being evaluated.

Example, its March and I need to compare actual March ytd expenses to
Bugeted YTD expenses. The function would look at the single cell that
contains the string 'Mar Actual.' I would use the function left(Cell
Reference, 3) to return the string value 'Mar'. I want to look convert that
to an array in the formula sum(c1r1:c3r1) where = the month.
--
Thx Jonathon
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      30th Apr 2010
With the string 'Mar Actual' in cell M1; try

=SUM(OFFSET(A:A,,MATCH(M1,1:1,0)-1))

--
Jacob (MVP - Excel)


"Jonathon Shull" wrote:

> I have a spreadsheet with budgeted financial data in columns, the heading for
> each column is a 3 letter monthly abbreviation. Each month actual financial
> data is entered in a corresponding table. I want to build an automated array
> for the YTD budgeted data based on one cell in the spreadsheet, the currrent
> month being evaluated.
>
> Example, its March and I need to compare actual March ytd expenses to
> Bugeted YTD expenses. The function would look at the single cell that
> contains the string 'Mar Actual.' I would use the function left(Cell
> Reference, 3) to return the string value 'Mar'. I want to look convert that
> to an array in the formula sum(c1r1:c3r1) where = the month.
> --
> Thx Jonathon

 
Reply With Quote
 
Jonathon Shull
Guest
Posts: n/a
 
      30th Apr 2010
ended up resolving as follows after looking through some other posts....

=SUM(C3:INDEX(C3:N3,('Lookup Tables'!$B$1)))
--
Thx Jonathon


"Jacob Skaria" wrote:

> With the string 'Mar Actual' in cell M1; try
>
> =SUM(OFFSET(A:A,,MATCH(M1,1:1,0)-1))
>
> --
> Jacob (MVP - Excel)
>
>
> "Jonathon Shull" wrote:
>
> > I have a spreadsheet with budgeted financial data in columns, the heading for
> > each column is a 3 letter monthly abbreviation. Each month actual financial
> > data is entered in a corresponding table. I want to build an automated array
> > for the YTD budgeted data based on one cell in the spreadsheet, the currrent
> > month being evaluated.
> >
> > Example, its March and I need to compare actual March ytd expenses to
> > Bugeted YTD expenses. The function would look at the single cell that
> > contains the string 'Mar Actual.' I would use the function left(Cell
> > Reference, 3) to return the string value 'Mar'. I want to look convert that
> > to an array in the formula sum(c1r1:c3r1) where = the month.
> > --
> > Thx Jonathon

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a formula to determine if date falls within a date range then Corca Microsoft Excel Worksheet Functions 2 19th Sep 2008 09:36 AM
Determine if range has NO Blank Cells without looping through each cell in range Excelenator Microsoft Excel Programming 4 4th Aug 2006 06:30 AM
formula to determine time range overlap? William DeLeo Microsoft Excel Misc 0 6th Jun 2006 08:26 PM
Formula to determine whether number falls within range?? =?Utf-8?B?Q2F0?= Microsoft Excel Worksheet Functions 4 17th Sep 2005 03:01 AM
Formula to determine range DavidObeid Microsoft Excel Misc 10 25th Nov 2003 01:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:45 AM.