Newbie needs a function (how sad)

G

Guest

I am trying to create a function in a checkbook register type workbook that
will do the following:
if name in column a = x and date in column c = y then add the numbers in
column f that pertain to both x and y.
I am trying to break down monthly spending at specific places - as in -
walmart purchases in january.
Is this possible?
Thank you for any assistance
 
B

Bob Phillips

if you have 1 in a cell, say Y1

=SUMPRODUCT(--(A1:A100="WalMart"),--(MONTH(C1:C100)=Y1),F1:F100)

or if you have the text January in Y1, then

=SUMPRODUCT(--(A1:A100="WalMart"),--(TEXT(C1:C100,"mmmm")=Y1),F1:F100)

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
B

Bob Phillips

I have just tested them both again, and they work fine.

Which did you use, what do you have in C1:C100 (examples of the data), and
what in Y1
 
B

Bob Phillips

If you open a post by anyone, and then click on the name in the from box,
you will see the email address. Mine is

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
B

Bob Phillips

Try again.

If you open a post by anyone, and then click on the name in the from box,
you will see the email address. Mine is adulterated as a basic protection
mechanism, but my signature tells you what to do.

But to spell it out, post it to

bob dot phillips at tiscali dot co dot uk

do the obvious with that.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
G

Guest

Ouch! Please remember that I really don't know what I am doing and this
project that I have created for myself is truly making me insane.
Did the file reach you?
 

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

Top