Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Simplify Cell Formulas AGAIN

Gang,

Some time back I posted to the group my frustration with complex cell
formulas. Many in the group helped with ideas. I'm writing this note
because I still think there must be a better way. Below is my latest
attempt to simplify using a combination of named ranges and the
INDIRECT function.


BEFO


((INDEX(PHFD,$L92)-((INDEX(HrvstFD,$L92))*(INDEX(WNRL,$L92))))*(1-(INDEX(PH*MFD,$L92)))*(1-(INDEX(SNHMYD,$L92))))



AFTER:


(((INDIRECT(AA4) PHFD)-((INDIRECT(AB4) WNRL_)*((INDIRECT(AC4)
HrvstFD_)))) * (1-(INDIRECT(AD4) PHMFD_))) * (1-(INDIRECT(AD4)
SNHMYD_))


The only advantage of the second option is that the formula is a bit
easier to understand (at least for folks that I might be sharing this
with). Unfortunately, it is longer.


I've thought about writing a custom function to do the math behind the
scenes, but quickly realized that would help little if any. Passing
the arguments to the function would take up as much space.


If anyone has any ideas at all as to how I might simplify this formula
(I have others that are 3x this size), I would be grateful if you would

share them with me.


And yes, I thought about parsing the formula into 2 or 3 cells and
combine those results. Ultimately, I may have to go that route.


Regards,


Mike

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Simplify Cell Formulas AGAIN

Please decide where you want your answer and ask there

--
Don Guillett
SalesAid Software

wrote in message
ups.com...
Gang,

Some time back I posted to the group my frustration with complex cell
formulas. Many in the group helped with ideas. I'm writing this note
because I still think there must be a better way. Below is my latest
attempt to simplify using a combination of named ranges and the
INDIRECT function.


BEFO


((INDEX(PHFD,$L92)-((INDEX(HrvstFD,$L92))*(INDEX(WNRL,$L92))))*(1-(INDEX(PH*MFD,$L92)))*(1-(INDEX(SNHMYD,$L92))))



AFTER:


(((INDIRECT(AA4) PHFD)-((INDIRECT(AB4) WNRL_)*((INDIRECT(AC4)
HrvstFD_)))) * (1-(INDIRECT(AD4) PHMFD_))) * (1-(INDIRECT(AD4)
SNHMYD_))


The only advantage of the second option is that the formula is a bit
easier to understand (at least for folks that I might be sharing this
with). Unfortunately, it is longer.


I've thought about writing a custom function to do the math behind the
scenes, but quickly realized that would help little if any. Passing
the arguments to the function would take up as much space.


If anyone has any ideas at all as to how I might simplify this formula
(I have others that are 3x this size), I would be grateful if you would

share them with me.


And yes, I thought about parsing the formula into 2 or 3 cells and
combine those results. Ultimately, I may have to go that route.


Regards,


Mike


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Simplify Cell Formulas AGAIN

Again, I apologize. Not sure where the answer would come from, I asked
in multiple places. I guess I don't know the groups well enough to
know where to place my question.

Mike
Don Guillett wrote:
Please decide where you want your answer and ask there

--
Don Guillett
SalesAid Software

wrote in message
ups.com...
Gang,

Some time back I posted to the group my frustration with complex cell
formulas. Many in the group helped with ideas. I'm writing this note
because I still think there must be a better way. Below is my latest
attempt to simplify using a combination of named ranges and the
INDIRECT function.


BEFO


((INDEX(PHFD,$L92)-((INDEX(HrvstFD,$L92))*(INDEX(WNRL,$L92))))*(1-(INDEX(PH*MFD,$L92)))*(1-(INDEX(SNHMYD,$L92))))



AFTER:


(((INDIRECT(AA4) PHFD)-((INDIRECT(AB4) WNRL_)*((INDIRECT(AC4)
HrvstFD_)))) * (1-(INDIRECT(AD4) PHMFD_))) * (1-(INDIRECT(AD4)
SNHMYD_))


The only advantage of the second option is that the formula is a bit
easier to understand (at least for folks that I might be sharing this
with). Unfortunately, it is longer.


I've thought about writing a custom function to do the math behind the
scenes, but quickly realized that would help little if any. Passing
the arguments to the function would take up as much space.


If anyone has any ideas at all as to how I might simplify this formula
(I have others that are 3x this size), I would be grateful if you would

share them with me.


And yes, I thought about parsing the formula into 2 or 3 cells and
combine those results. Ultimately, I may have to go that route.


Regards,


Mike


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
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Dates of a Day for a month & year cell formulas mikeburg Excel Discussion (Misc queries) 2 December 29th 05 10:14 PM
Formulas within Cell References jhockstr Excel Discussion (Misc queries) 4 August 13th 05 06:40 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 09:43 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"