+ Reply to Thread
Results 1 to 9 of 9

If Statement calculate cell and produce total and percentage Graph

Hybrid View

  1. #1
    Registered User
    Join Date
    02-23-2014
    Location
    leeds
    MS-Off Ver
    Excel 2013
    Posts
    5

    Cool If Statement calculate cell and produce total and percentage Graph

    hello,

    i know very little about excel, but i am very good at following instructions. i was wondering if anyone could hell with a task i have.

    i currently have a work book which contains data as shown in the attached jpg

    the data i want to calculate is in rows 2 to 40. for the 3 price columns.

    on row 41 i would like the total cost to be calculated for the cell labelled as booked, total cost for each Column listed in row 41

    i also would like a graph displaying the percentage of each room Booked each year and also the total percentage of all rooms booked per year.

    if anyone would be able to offer the formula i would be very grateful :-)


    excell Capture.JPG
    Attached Files Attached Files
    Last edited by Andy8674; 02-23-2014 at 07:10 PM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,807

    Re: Help with Workbook

    rather than a image post a spreadsheet

    you also need to change the title

    see the rules here
    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more days have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    02-23-2014
    Location
    leeds
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Help with Workbook

    many thanks for the info, i have change the title as requested and also added the workbook.

    many thanks for the advice.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,807

    Re: If Statement calculate cell and produce total and percentage Graph

    try using

    =SUMIF(D2:D40,"booked",E2:E40)

    and copy to the other cells

    see attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-23-2014
    Location
    leeds
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: If Statement calculate cell and produce total and percentage Graph

    thats fantastic thanks :-)

    would there be a way to add the number of booked per column into a percentage graph? say, 40 bookable weeks, 20 booked so graph shows 50% and then an overall Graph displaying all Booked and displaying a percentage graph? 120 bookable weeks, 60 listed as booked so graph displays 50%

    again many thanks for your help :-)

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,807

    Re: If Statement calculate cell and produce total and percentage Graph

    yes

    not certain on which row you want to use

    you can countif as well, so you can countif the number of booked weeks

    then counta() counts the number of non blank cells , sothat could count the weeks and so you can work out the %

    see attached
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-23-2014
    Location
    leeds
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: If Statement calculate cell and produce total and percentage Graph

    again Many thanks, it was each column of Booked for the percentage but i should be able to work it out from there.

    thanks alot :-)

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,807

    Re: If Statement calculate cell and produce total and percentage Graph

    your welcome, let me know if you need further help on the percent

    thanks for the rep

  9. #9
    Registered User
    Join Date
    02-23-2014
    Location
    leeds
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: If Statement calculate cell and produce total and percentage Graph

    all sorted thanks alot, everything i wanted now working :-) will just try to work out how to close this and give you points if you do that here :-)

    thanks again.

+ 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