+ Reply to Thread
Results 1 to 16 of 16

Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

  1. #1
    Registered User
    Join Date
    07-25-2023
    Location
    Chicago, IL
    MS-Off Ver
    GoogleSheets
    Posts
    7

    Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    Hello,

    I need to make a formula that will allow the number of hours on the July tab to increase depending on how many times an instructors name appears on the Instructors by day tab. Joshiley and Raniyan count for 1.5 hours while the rest of the classes count for 1 hour. Please advise.Screen Shot 2023-07-25 at 1.44.53 AM.pngScreen Shot 2023-07-25 at 1.44.46 AM.png
    Last edited by AliGW; 07-25-2023 at 02:49 AM. Reason: Thread title improved - generic thread titles are NOT permitted.

  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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Complex formula help needed

    Welcome to the forum.

    Which version of the Mac product do you have?

    Please read the forum rules on thread titles - we don't allow generic ones. As you are new, I will change this one for you as a courtesy.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    Hang on - is this a GoogleSheets query?

  4. #4
    Registered User
    Join Date
    07-25-2023
    Location
    Chicago, IL
    MS-Off Ver
    GoogleSheets
    Posts
    7

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    Yes it is.

  5. #5
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    OK - I'll move the thread.

    Change your forum profile from Mac to GoogleSheets and attach a worksheet as instructed above (you won't be able to post a link at the moment).

  6. #6
    Registered User
    Join Date
    07-25-2023
    Location
    Chicago, IL
    MS-Off Ver
    GoogleSheets
    Posts
    7

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    How do I attach the file?

  7. #7
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    Read post #2 and the big yellow banner at the top of the page.

    You also need to update your profile as requested (GoogleSheets, NOT Sheets).
    Attached Images Attached Images

  8. #8
    Registered User
    Join Date
    07-25-2023
    Location
    Chicago, IL
    MS-Off Ver
    GoogleSheets
    Posts
    7

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    Attachment 837577 see attached

  9. #9
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    Profile need to be GoogleSheets, please.

  10. #10
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    Names in column A of the July sheet will need to match the names in the by day sheet exactly. You will need to change this.

  11. #11
    Registered User
    Join Date
    07-25-2023
    Location
    Chicago, IL
    MS-Off Ver
    GoogleSheets
    Posts
    7

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    How would you suggest I format that on the by day sheet if there were more than 1 instructor for a class? I found putting the names in the same cell to be the easiest to read.

  12. #12
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    Forget that - I misunderstood the names.

    This will work in Excel (some of your expected answers are wrong) - in B2 copied down:

    Please Login or Register  to view this content.
    I don't know if it will work in GoogleSheets.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    07-25-2023
    Location
    Chicago, IL
    MS-Off Ver
    GoogleSheets
    Posts
    7

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    It worked! Thank you so much.

  14. #14
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  15. #15
    Registered User
    Join Date
    07-25-2023
    Location
    Chicago, IL
    MS-Off Ver
    GoogleSheets
    Posts
    7

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    If I want to make the formula dynamic so that I can add dates on the by day while the July sheet numbers increases, how would I alter it to include the entire sheet?

  16. #16
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,630

    Re: Increasing Hours to Accommodate Number of Times an Instructor's Name Appears

    If you are asking about increasing the number of rows of dates then in Excel the data on the Instructors by day (July) sheet could be converted into a table and then use structured references in AliGW's formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If you are asking about increasing the number columns, then try changing the above formula by exchanging [Joshiley] with the column header of the rightmost column (inclosed on square brackets []).
    That said, not sure if structured references work in googlesheets.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] complex count formula needed
    By Sam Capricci in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 07-17-2015, 07:37 PM
  2. Complex Formula or SQL needed
    By zmbaker in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 04-22-2014, 06:09 PM
  3. Complex Formula Help Needed!
    By contraububu in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-11-2013, 02:40 PM
  4. complex formula help needed!!!!!
    By emmaxstar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2011, 09:28 AM
  5. Complex Formula Help Needed
    By Ivorian in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-06-2009, 03:28 AM
  6. formula for complex tallying needed
    By m2bowles in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-16-2009, 05:10 PM
  7. Formula Needed, could be complex
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-21-2005, 11:33 AM

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