+ Reply to Thread
Results 1 to 4 of 4

Suming

Hybrid View

  1. #1
    Registered User
    Join Date
    06-28-2007
    Posts
    4

    Suming

    Hi there, I have a quick question..

    http://img339.imageshack.us/img339/9107/excelir8.png

    How would I make cell F7 show the total price of all of the Ferrari's situated in cells C7 and 8? But I don't want this =SUM(C7:C15), I want it so that if I sort the make and price the F7 wont change.

    This is only an example, but please give me the code for cell F7 that I would need.

    If you still don't understand my question, post below for clarification.

    Thank you

    Josh
    Last edited by Joshdube; 06-28-2007 at 02:17 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =Sumif(B7:B15,"ferrari",C7:C15)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Clarify: Do you want cell F7 to always show the sum of Cells C7 and C8, or do you want cell F7 to always show the price of all the Ferraris in cells C7:C15?

  4. #4
    Registered User
    Join Date
    06-28-2007
    Posts
    4
    Quote Originally Posted by BigBas
    Clarify: Do you want cell F7 to always show the sum of Cells C7 and C8, <b>or do you want cell F7 to always show the price of all the Ferraris in cells C7:C15?</b>
    Thats it.

    So if I sort the prices and makes the price will stay the same in F7

    Josh

    PS the code given to me works actually, so thank you.
    Last edited by Joshdube; 06-28-2007 at 02:42 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1