+ Reply to Thread
Results 1 to 5 of 5

How to Automatically Sum Totals for Room Bookings based on Price Criteria

  1. #1
    Registered User
    Join Date
    12-10-2014
    Location
    Bangor
    MS-Off Ver
    2010
    Posts
    20

    How to Automatically Sum Totals for Room Bookings based on Price Criteria

    I am organising a conference and use a spreadsheet for the bookings.

    I use one column to record the type of accommodation required for each party with D for Double Room, S for single and T for Twin.

    What formula would I need to total these automatically so x Double rooms, y single and z twin ?
    Last edited by AliGW; 09-09-2018 at 08:38 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: How to Automatically Totals for Room Bookings based on Price Criteria

    I have edited your thread title, which told us nothing at all about your issue.

    In future please adhere to these guidelines when opening a thread:

    • 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 tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    To change a title go to your first post, click EDIT then Go Advanced and change your title.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-10-2014
    Location
    Bangor
    MS-Off Ver
    2010
    Posts
    20

    Re: How to Automatically Sum Totals for Room Bookings based on Price Criteria

    Many thanks Ali for keeping me right.

    Rookie here at Forum etiquette.

  4. #4
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: How to Automatically Sum Totals for Room Bookings based on Price Criteria

    Hi,

    You can just use COUNTIF:

    Excel 2016 (Windows) 64 bit
    A
    B
    C
    D
    1
    D Room Total
    2
    S D
    4
    3
    T S
    5
    4
    T T
    4
    5
    T
    6
    D
    7
    D
    8
    S
    9
    T
    10
    S
    11
    S
    12
    D
    13
    S
    Sheet: Sheet65

    Excel 2016 (Windows) 64 bit
    D
    2
    =COUNTIF(A$1:A$13,C2)
    Sheet: Sheet65

    Formula copied down.

  5. #5
    Registered User
    Join Date
    12-10-2014
    Location
    Bangor
    MS-Off Ver
    2010
    Posts
    20

    Re: How to Automatically Sum Totals for Room Bookings based on Price Criteria

    Very many thanks indeed. That's exactly what I need.

    Trevor.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  2. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  3. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  4. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  5. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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