Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default MOD Columns / INDIRECT.. for x3 columns?

hi, trying to be able to modify a formula, to pick the number of columns
desired for a calculation. examples below are for 3 columns, would range
from 2-10 columns.

=IF(K9=0,"",((ED9/EE9%)+(EE9/EF9%)+(EF9/EG9%))-300)

is a percent change formula: fm/to%-100
got some help with:

=IF(K9=0,"",SUMPRODUCT(ED9:EF9/EE9:EG9%-100))

would I use INDIRECT, MOD.. think would prefer a multplication? for
external entry in one fixed cell, e.g.: 3 (as above). thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default MOD Columns / INDIRECT.. for x3 columns?

See my reply in your original thread.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Nastech" wrote in message
...
hi, trying to be able to modify a formula, to pick the number of columns
desired for a calculation. examples below are for 3 columns, would range
from 2-10 columns.

=IF(K9=0,"",((ED9/EE9%)+(EE9/EF9%)+(EF9/EG9%))-300)

is a percent change formula: fm/to%-100
got some help with:

=IF(K9=0,"",SUMPRODUCT(ED9:EF9/EE9:EG9%-100))

would I use INDIRECT, MOD.. think would prefer a multplication? for
external entry in one fixed cell, e.g.: 3 (as above). thanks




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default MOD Columns / INDIRECT.. for x3 columns?

answer works for:

SUMPRODUCT(ED9:INDEX(ED9:EM9,1,$DJ$6)/EE9:INDEX(EE9:EN9,1,$DJ$6)%-100)

"Nastech" wrote:

hi, trying to be able to modify a formula, to pick the number of columns
desired for a calculation. examples below are for 3 columns, would range
from 2-10 columns.

=IF(K9=0,"",((ED9/EE9%)+(EE9/EF9%)+(EF9/EG9%))-300)

is a percent change formula: fm/to%-100
got some help with:

=IF(K9=0,"",SUMPRODUCT(ED9:EF9/EE9:EG9%-100))

would I use INDIRECT, MOD.. think would prefer a multplication? for
external entry in one fixed cell, e.g.: 3 (as above). thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default MOD Columns / INDIRECT.. for x3 columns?

in case anyone wanted to know, this is the formula using:

=IF(OR(COUNTIF(EE9:EN9,{"",0}),MIN(EE9:EN9)=MAX(EE 9:EN9)),"",
SUMPRODUCT(ED9:INDEX(ED9:EM9,1,$DJ$6)/EE9:INDEX(EE9:EN9,1,$DJ$6)%-100))



"Nastech" wrote:

hi, trying to be able to modify a formula, to pick the number of columns
desired for a calculation. examples below are for 3 columns, would range
from 2-10 columns.

=IF(K9=0,"",((ED9/EE9%)+(EE9/EF9%)+(EF9/EG9%))-300)

is a percent change formula: fm/to%-100
got some help with:

=IF(K9=0,"",SUMPRODUCT(ED9:EF9/EE9:EG9%-100))

would I use INDIRECT, MOD.. think would prefer a multplication? for
external entry in one fixed cell, e.g.: 3 (as above). thanks


Reply
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
INDEX("a"&COLUMNS(INDIRECT(A1):INDIRECT(A2)):A30,4) Dave F[_2_] Excel Discussion (Misc queries) 3 September 20th 07 08:36 PM
to convert columns to rows having mulit independent group columns Quacy Excel Worksheet Functions 1 August 22nd 06 11:20 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 0 July 31st 06 05:07 PM
Looking at several columns with Indirect Toon Excel Worksheet Functions 1 February 8th 06 09:10 PM


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

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

About Us

"It's about Microsoft Excel"