function help needed

H

hotelmasters

If i have a table with similar names and values next to the name, how can I
sum up all of those numbers similar to a vlookup function where i could say
"total all numbers 1 column away from 'petty cash'"?
i.e

Petty Cash 5,575
Check 2000
Check 1575
Petty Cash 4075
 
G

Guest

Hi

Have a look at the SUMIF function:
=SUMIF(A2:A50,"Petty Cash",B2:B50)

Hope this helps.
Andy.
 
B

Bondi

hotelmasters said:
If i have a table with similar names and values next to the name, how can I
sum up all of those numbers similar to a vlookup function where i could say
"total all numbers 1 column away from 'petty cash'"?
i.e

Petty Cash 5,575
Check 2000
Check 1575
Petty Cash 4075

Hi,

Maybe you can use something like:

=SUMIF(A1:A4,"Petty Cash",B1:B4)

If you have description in column a and amount in b

Regards,
Bondi
 
H

hotelmasters

perfect, thanks.

do you know how i can lookup value that isn't precise. for example if i was
using a vlookup function is there a way to lookup a value that isn't exact,
as if i was looking up "January" but wanted to include cells that contain
either January or January '06 or January 2006?

thanks
 

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