PC Review


Reply
Thread Tools Rate Thread

adding totals... more complex than it sounds..

 
 
the_top_man@hotmail.com
Guest
Posts: n/a
 
      10th Aug 2006
i have a table, i have a column of cells containing the values 'k' or
's' or 't' or 'r'
i then have a column of cells containing a sum of money representing a
figure 'k' has achieved on that particular row of cells etc.
i need to add the number into a seperate cell that will have the total
value of all of 'k' sums of money

sorry if thats confusing, its kinda hard to explain

 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      10th Aug 2006
Use SUMIF, along the lines of:

=SUMIF(your_range_containing_letters,"k",your_range_containing_money)

For example, it might look like this:

=SUMIF(A1:A100,"k",B1:B100)

This will add up the values in B1:B100 which have a corresponding value
of k in A1:A100.

Hope this helps.

Pete

(E-Mail Removed) wrote:
> i have a table, i have a column of cells containing the values 'k' or
> 's' or 't' or 'r'
> i then have a column of cells containing a sum of money representing a
> figure 'k' has achieved on that particular row of cells etc.
> i need to add the number into a seperate cell that will have the total
> value of all of 'k' sums of money
>
> sorry if thats confusing, its kinda hard to explain


 
Reply With Quote
 
the_top_man@hotmail.com
Guest
Posts: n/a
 
      10th Aug 2006
you are an absolute star!!! thankyou

 
Reply With Quote
 
the_top_man@hotmail.com
Guest
Posts: n/a
 
      10th Aug 2006
infact one more thing, im using this formula on a different workbook,
and i have this formula:
=sumif(Inspections!d10:80,"k",g10:g80)

where inspections is the workbook im geting the data from, and i cant
get the data.. have i put the wrong code in?

 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      10th Aug 2006
You seem to have missed the d in front of the first 80 and the sheet
name in
front of the second range. You probably need something like:

=sumif(Inspections!d10:d80,"k",Inspections!g10:g80)

I assume that Inspections is the name of a different work sheet in the
same
workbook.

Hope this helps.

Pete

(E-Mail Removed) wrote:
> infact one more thing, im using this formula on a different workbook,
> and i have this formula:
> =sumif(Inspections!d10:80,"k",g10:g80)
>
> where inspections is the workbook im geting the data from, and i cant
> get the data.. have i put the wrong code in?


 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      10th Aug 2006
Thanks for feeding back.

Pete

> all sorted, thankyou


Pete_UK wrote:
> You seem to have missed the d in front of the first 80 and the sheet
> name in
> front of the second range. You probably need something like:
>
> =sumif(Inspections!d10:d80,"k",Inspections!g10:g80)
>
> I assume that Inspections is the name of a different work sheet in the
> same
> workbook.
>
> Hope this helps.
>
> Pete
>
> (E-Mail Removed) wrote:
> > infact one more thing, im using this formula on a different workbook,
> > and i have this formula:
> > =sumif(Inspections!d10:80,"k",g10:g80)
> >
> > where inspections is the workbook im geting the data from, and i cant
> > get the data.. have i put the wrong code in?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding up 1 to 25 fields Line totals to a sub totals Kenj Microsoft Access Form Coding 2 22nd Jan 2010 05:34 AM
adding daily totals to weekly totals john.9.williams@bt.com Microsoft Excel Programming 3 28th Mar 2008 02:26 PM
Adding invoice totals with multiple records showing totals Mike Koop Microsoft Access Reports 1 10th Jan 2008 05:28 PM
Complex TOTALS QUERY =?Utf-8?B?anVzdG1l?= Microsoft Access Queries 0 8th Jun 2007 07:09 AM
adding events for sounds in Sounds and audio devices Windows XP Customization 2 16th Nov 2003 11:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:57 AM.