#1   Report Post  
Posted to microsoft.public.excel.misc
m.cain
 
Posts: n/a
Default Simplifying formula


Hello,

I have created a 2 formulas that I know work, but was wondering whether
anyone could suggest a simpler one that could do the job for both.
Formula 2 is based upon the answer from Formula 1. The answer from
Formula 2 is the one I want to keep.

column F contains text values including the value "N*"
row 5 contains the first entry in the list
Cell H5 contains the 1st formula: IF((F5="N*"),(1),"")
Cell I5 contains the 2nd formula:
=IF(((SUM(H$4:$H5))=(SUM(H$4:$H4))),"",(SUM(H$4:$H 5)))

Thanks for your help!


--
m.cain
------------------------------------------------------------------------
m.cain's Profile: http://www.excelforum.com/member.php...o&userid=32773
View this thread: http://www.excelforum.com/showthread...hreadid=526044

  #2   Report Post  
Posted to microsoft.public.excel.misc
Gizmo63
 
Posts: n/a
Default Simplifying formula

I'm assuming that this only operates as a downward list? Only the locked
references ($4 etc) create some interesting cumulative numbers when dragged
down and right.

It looks like you're assigning a 1 if N* is present in a hidden(?) column
and then building a cumulative total.

If I'm right then you can delete the formulae in column H and your formula
in I5 is:

=IF(F5<"N*","",COUNTIF($F$5:F5,"N*"))

HTH

Giz

"m.cain" wrote:


Hello,

I have created a 2 formulas that I know work, but was wondering whether
anyone could suggest a simpler one that could do the job for both.
Formula 2 is based upon the answer from Formula 1. The answer from
Formula 2 is the one I want to keep.

column F contains text values including the value "N*"
row 5 contains the first entry in the list
Cell H5 contains the 1st formula: IF((F5="N*"),(1),"")
Cell I5 contains the 2nd formula:
=IF(((SUM(H$4:$H5))=(SUM(H$4:$H4))),"",(SUM(H$4:$H 5)))

Thanks for your help!


--
m.cain
------------------------------------------------------------------------
m.cain's Profile: http://www.excelforum.com/member.php...o&userid=32773
View this thread: http://www.excelforum.com/showthread...hreadid=526044


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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Simplifying array formula which evaluates as error. Richard Buttrey Excel Worksheet Functions 5 September 30th 05 02:35 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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