Simplifying formula

M

m.cain

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:$H5)))

Thanks for your help!
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Variable row groupings 3
Formula Mystery 4
This One Is Tricky Need Help !!!!! 1
An easier way? 9
Formula with blanks 5
problem with formulas (2) 7
Scrabble Value calculation for Welsh words 0
Code help 0

Top