+ Reply to Thread
Results 1 to 3 of 3

Hello.. I need help with conditional formula in the Excel sheet that I have created

  1. #1
    Registered User
    Join Date
    07-02-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Hello.. I need help with conditional formula in the Excel sheet that I have created

    Hello All:

    I am new to this forum and a novice in Excel world. I have created a Excel sheet with few formulas that I managed to learn from internet websites. Now, I have 2 issues with this excel.

    I am attaching the Excel sheet I have created. The first issue I would like help with is I want the color of the entries in column M8:M49 to change depending on whether Day/Night selected in respective fields in column F8:F49. The second help I would like is to add the Day and Night output in column K8:K49 to be added separately .. day output and night output.

    May be this sounds confusing, but I do not know how to put this forward. So, please excuse me for this, and any help would be greatly appreciated.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Hello.. I need help with conditional formula in the Excel sheet that I have created

    Hi and welcome to the forum

    For the 1st part (color the cells) you can use conditional; formatting...

    1. highlight the range you want to apply the conditional formatting to
    2. select Format/Conditional Formatting
    3. select Formula IS (from the 1st drop-down)
    4. enter =F8="day" Format fill as needed.

    If required, repeat this for "night" and change the color

    Im not sure where you want the answer for part 2, but use this...

    =SUMIF($F$8:$F$50,"day",$K$8:$K$50)

    copy/paste and chage to "night
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-09-2012
    Location
    India
    MS-Off Ver
    Excel 97/2003/2007/2010
    Posts
    67

    Re: Hello.. I need help with conditional formula in the Excel sheet that I have created

    HI fdibbins,

    GREAT...

    CORRECTION...


    BUT BY THIS CONDITIONAL FORMULA, ONLY CONDITIONAL COLOR WILL APPLY TO M8 ONLY...

    SO NEED ADD THE $ TO YOUR FORMULA TO APPLY THE CONDITION TO THE ENTIRE SELECTION... =$F8="DAY"

    THANKS,
    SATHYA

+ 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