A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

writing an formulae with variable parameters



 
 
Thread Tools Display Modes
  #1  
Old June 19th, 2009, 06:47 PM posted to microsoft.public.excel.worksheet.functions
Formulas with variable parameters
external usenet poster
 
Posts: 1
Default writing an formulae with variable parameters

I want to find the maximum (in each week) but along the years the first and
last position changes.

For that i use

"=MAX(D1241345)"

Now imagine that I want to use
"=MAX(D1251346)" and that i have that numbers in some colums

Can i change the formulae going to the numbers (it self)?
  #2  
Old June 19th, 2009, 06:52 PM posted to microsoft.public.excel.worksheet.functions
Rick Rothstein[_2_]
external usenet poster
 
Posts: 2,013
Default writing an formulae with variable parameters

You could do it this way...

=MAX(INDIRECT("D125"&A1))

where I assumed the row number was in cell A1.

--
Rick (MVP - Excel)


"Formulas with variable parameters" Formulas with variable
wrote in message
news
I want to find the maximum (in each week) but along the years the first and
last position changes.

For that i use

"=MAX(D1241345)"

Now imagine that I want to use
"=MAX(D1251346)" and that i have that numbers in some colums

Can i change the formulae going to the numbers (it self)?


  #3  
Old June 19th, 2009, 06:58 PM posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick
external usenet poster
 
Posts: 2,496
Default writing an formulae with variable parameters

If you just use

=MAX(D)

then it doesn't matter where the rows with values are within the column.

HTH,
Bernie
MS Excel MVP


"Formulas with variable parameters" Formulas with variable
wrote in message news
I want to find the maximum (in each week) but along the years the first and
last position changes.

For that i use

"=MAX(D1241345)"

Now imagine that I want to use
"=MAX(D1251346)" and that i have that numbers in some colums

Can i change the formulae going to the numbers (it self)?



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.