> I need to sum column P if values in column A begin with 000.
>
> any ideas?
Thanks Pete...but i am getting the VALUE errror as result.
Try this approach:
=SUMPRODUCT((LEFT(A1:A1000,3)="000")*(P1:P1000))
I've assumed 1000 rows, so adjust to suit, but you can't use full
column references prior to XL 2007.
Hope this helps.
Pete
On Mar 31, 8:04 pm, "Gaurav" <gsha...@mediconnect.net> wrote:
> I need to sum column P if values in column A begin with 000.
>
> any ideas?
David Biddulph - 31 Mar 2008 21:11 GMT
So you need to look at the values in column P. Get rid of text entries or
errors.
Note also that the column A condition will return a true condition if you
have text values in that column starting with 000, but not if you have
numbers such as 123 formatted 000000 to look like 000123.
--
David Biddulph
> Thanks Pete...but i am getting the VALUE errror as result.
>
[quoted text clipped - 13 lines]
>>
>> any ideas?
Pete_UK - 31 Mar 2008 23:37 GMT
I see you have an answer from Bob that works for you, but you might
like to try this amendment:
=SUMPRODUCT(--(LEFT(A1:A1000,3)="000"),P1:P1000)
Hope this helps.
Pete
> Thanks Pete...but i am getting the VALUE errror as result.
>
[quoted text clipped - 8 lines]
>
> Pete