PC Review


Reply
Thread Tools Rate Thread

Re: Possible to do a calc on certain rows?

 
 
CyberTaz
Guest
Posts: n/a
 
      10th Nov 2006
One option-

Assuming the data range is a1:d20, in G1,G2,G3 (whatever cells you wish)
enter:

=SUMIF($A$2:$A$6,"food",$B$2:$B$6)
=SUMIF($A$2:$A$6,"accommodation",$B$2:$B$6)
=SUMIF($A$2:$A$6,"sightseeing",$B$2:$B$6)

In G4 just use =SUM(G1:G3)

If you need the number of occurrences for each category you can use the
COUNTIF in the same way.

HTH |:>)
Bob Jones
[MVP] Office:Mac


On 11/9/06 8:07 PM, in article (E-Mail Removed),
"kotitiahere" <(E-Mail Removed)> wrote:

>
> Hi all,
>
> In 23 days time I am off around the world for 10 years. I have a palm
> TX and have found that I can use excel spread sheets. I already have a
> budget set in MS ACCESS that is accessable online, but I would like a
> budget in Excel so I can keep up to date as we travel around.
>
> In my budget I have the following columns
> (A1) Type (food, accommodation)
> (B1)Price
> (c1)Days
> (d1)Place
>
> then the following rows have the main information
> (A2)accommodation
> (B2)100.00
> (c2)2
> (d2)Auckland
>
> (A3) food
> (B3)60
> (c3)2
> (d3)Auckland
>
> (A4)Sightseeing
> (B4)40
> (c4)1
> (d4)North Shore
>
> Now is it possible to do something like
>
> select all days (column c) where type = food (column b)
> and then sum the total?
>
> The way that the budget (in access) works is that the days under the
> food type is used to work out the cost per day, which is why I need to
> be able to call the sum of the days for food only!
>
> Advise on how to do it and how to enter it would be most appreciated!
>
> thank you for your time
>


 
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
Pivot Table calc difference between two rows of data Robert H Microsoft Excel Charting 1 3rd Nov 2009 03:37 AM
Query Calc. is Mult. # of Table rows--Y? StaceyF Microsoft Access Queries 3 12th Jun 2007 09:50 PM
How Do you send results of calc to seperate rows of answers to then later create chart greilly@zoll.com Microsoft Excel Misc 4 10th Apr 2007 05:05 PM
Iterating rows, calc cells in dynamic sheet robd Microsoft Excel Programming 1 20th Mar 2006 06:37 PM
auto calc on, but have to edit (f2) cells to force re-calc..help! =?Utf-8?B?Q3VydA==?= Microsoft Excel Worksheet Functions 3 13th Feb 2006 07:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 PM.