What formula is in A1? Is it a Sum of a range?

Signature
Bearacade
vertigo - 16 Jun 2006 18:14 GMT
Just a normal addition sum.
=100+200+300

Signature
vertigo
Bearacade - 16 Jun 2006 18:31 GMT
To be honest, I don't know how you could extract it without using
lengthy Visual Basic Module
--
Bearacad
I'm not sure I completely understand what you're trying to do.
So, you want to look at the individual amounts in cell A1, not the actual
value of A1, to see if any are 2000 or greater? So, 600+600+600+600 would
not be displayed, since there are no individual values greater than 2000,
even though the total value is 2400? Is this correct?
If so, what is the reason for keeping all values in the same cell rather
than seperate cells? This makes the formula much more difficult, especially
since you don't seem to have the same number of values being added together.
What I'd recommend is placing your values in seperate cells, lets say A1
through A5. Then your formula could be
=IF(MAX(A1:A5)>=2000,"Amount of "&SUM(A1:A5),"")
If this won't work, please post back with more details.
HTH,
Elkar
> Hi All,
>
[quoted text clipped - 22 lines]
>
> Thanks.
vertigo - 16 Jun 2006 19:04 GMT
Elkar Wrote:
> I'm not sure I completely understand what you're trying to do.
>
[quoted text clipped - 23 lines]
> HTH,
> Elkar
Sorry i should have explained myself better, yes Elkar i want it to
just show up individual amounts of 2000 and more, but not when i have a
sum of say 600+600+600+600 = 2400.
The reason they are all in the one cell is because the numbers which
will go into A1 varies each time.Sometimes it can be just two amounts
and sometimes it can be 10+ so it would be very messy having loads of
cells.

Signature
vertigo
Elkar - 16 Jun 2006 19:29 GMT
Unfortunately, there is no easy way to do this then.
What if you had a second worksheet to store the numbers in? Say, column A
of Sheet2? This way you could enter as many numbers as you like, but your
main sheet would remain clean.
=IF(MAX('Sheet2'!A:A)>=2000,"Amount of "&SUM('Sheet2'!A:A),"")
Your other option would be to use VB Code, which I'm not real efficient at
writing. Perhaps someone in the Excel Programming forum could assist there.
HTH,
Elkar
> Elkar Wrote:
> > I'm not sure I completely understand what you're trying to do.
[quoted text clipped - 33 lines]
> and sometimes it can be 10+ so it would be very messy having loads of
> cells.
vertigo - 16 Jun 2006 19:57 GMT
Ok Elkar will try that, thanks for your help. Greatly appreciated.

Signature
vertigo
=IF(OR(a1=2000,a1>2000),"amount of"&a1,"")
vertigo - 16 Jun 2006 19:25 GMT
ES.Solomon@gmail.com Wrote:
> =IF(OR(a1=2000,a1>2000),"amount of"&a1,"")
Wont that formula just give the value of A1? Not the value of any
amount over 2000 in the sum?

Signature
vertigo
kassie - 16 Jun 2006 20:04 GMT
I agree with Elkar, that you should use another sheet as input range for A1.
You can then check the individual cells in this range, to get your result.
something like =IF(MAX('Sheet2'!A:A)>=2000,"Amount of "&MAX('Sheet2'!A:A),"")
> ES.Solomon@gmail.com Wrote:
> > =IF(OR(a1=2000,a1>2000),"amount of"&a1,"")
>
> Wont that formula just give the value of A1? Not the value of any
> amount over 2000 in the sum?