+ Reply to Thread
Results 1 to 5 of 5

Booking system formula

  1. #1
    Registered User
    Join Date
    07-26-2005
    Posts
    13

    Booking system formula

    Hi I’m new here.

    I have been having a problem. I am making a booking in system on excel. I have got a front end to it, where people enter there data. And a macro which brings the information to the back end of the spreadsheet.

    I need a formula which looks up in the above fields and counts how many there are of a course name example: “course 1a” = 5 and in the next box “course 1b = 1.

    I Don’t know which formula to use. Will it be a lookup or will it be a counta formula. Or is it a formula with both in it. I have been trying for the last few days.

    Please someone help me


    Cheers



    John

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Try COUNTIF. example:

    =COUNTIF(A1:A100,"course 1b")


    of course, adjust the range to fit your needs.

    Does this work for you?
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Registered User
    Join Date
    07-26-2005
    Posts
    13
    yes yes it does mate.

    cheers for that i have never used a countif before.

    Your a star

  4. #4
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Thanks for the feedback. I am glad it worked for you!

    Cheers!

  5. #5
    Roger Govier
    Guest

    Re: Booking system formula

    Assuming your range of data holding the text "course 1a" etc. is in A1:A100
    In B1 enter Course 1a, in B2 enter Course 1b

    In C1 enter =COUNTIF($A$1:$A$100,"="&B1)
    copy down to C2


    --
    Regards
    Roger Govier
    "johncouzins" <johncouzins.1ss2qi_1122383117.9197@excelforum-nospam.com>
    wrote in message
    news:johncouzins.1ss2qi_1122383117.9197@excelforum-nospam.com...
    >
    > Hi I'm new here.
    >
    > I have been having a problem. I am making a booking in system on excel.
    > I have got a front end to it, where people enter there data. And a macro
    > which brings the information to the back end of the spreadsheet.
    >
    > I need a formula which looks up in the above fields and counts how many
    > there are of a course name example: "course 1a" = 5 and in the next box
    > "course 1b = 1.
    >
    > I Don't know which formula to use. Will it be a lookup or will it be a
    > counta formula. Or is it a formula with both in it. I have been trying
    > for the last few days.
    >
    > Please someone help me
    >
    >
    > Cheers
    >
    >
    >
    > John
    >
    >
    > --
    > johncouzins
    > ------------------------------------------------------------------------
    > johncouzins's Profile:
    > http://www.excelforum.com/member.php...o&userid=25602
    > View this thread: http://www.excelforum.com/showthread...hreadid=390165
    >




+ 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