+ Reply to Thread
Results 1 to 2 of 2

Combining two formulas

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Combining two formulas

    I have two formulas and I am wanting to hopefully combine them.

    I have a weekly schedule that I create. And I need it to count how many hours are used for an event but only for that event. For example

    I want it to take the left product (to get the number of hours) of only cells that have the word SHOW in it and add all those up.

    If I just do left product to get the number it takes all them.

    Anyways here is my left product formula

    =IF(D9="","",--LEFT(D9,1))+IF(E9="","",--LEFT(E9,1))+IF(F9="","",--LEFT(F9,1))

    My other is a crude way of doing it. But then I have to tell it to look for exact numbers and word to search for I just want it to search for the word

    =COUNTIF(A9:F9,"4 Show")*4+COUNTIF(A9:F9,"6 Show")*6+COUNTIF(A9:F9,"8 Show")*8

    Is there anyway to just say

    =IF(A9:F9="*Show",--LEFT(A9:F9,1))

    I want it to add all the numbers up for Show in one box, and then add up all the numbers for Admin, then so forth.

    Picture is included to hopefully make it easier.

    Schedule test.jpg

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Combining two formulas

    Did you tried with a Array Formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    please confirm the formula by pressing Ctrl + Shift + Enter.. not just Enter..
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

+ 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. Combining formulas
    By Cmorgan in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-26-2012, 04:01 PM
  2. Combining two formulas
    By mrggutz in forum Excel General
    Replies: 13
    Last Post: 09-24-2010, 12:47 PM
  3. Combining IF formulas
    By donyc in forum Excel General
    Replies: 4
    Last Post: 09-09-2010, 05:42 PM
  4. combining IF formulas
    By donyc in forum Excel General
    Replies: 2
    Last Post: 09-08-2010, 09:31 AM
  5. combining formulas
    By ericc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2010, 08:26 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