+ Reply to Thread
Results 1 to 6 of 6

Need excel to see text where I have entered a formula.

  1. #1
    Registered User
    Join Date
    06-27-2012
    Location
    Sprucedale, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    6

    Need excel to see text where I have entered a formula.

    I want to check IF="Sat" where Sat is the result of format ddd and date = base date +1

    Any ideas?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need excel to see text where I have entered a formula.

    Perhaps

    =IF(WEEKDAY(A1)=7,"Sat","Not Sat")
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    06-27-2012
    Location
    Sprucedale, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Need excel to see text where I have entered a formula.

    Hi Richard, Thanks for your quick reply. I am putting together a spread sheet where Mon-Fri = regular hourly rate for the first 8 hours and after that = Overtime as in "=(($G6-8)*$I6*CD6)+(8*CD6*$H6)". It worked great until I remembered that Saturdays and Sundays are all overtime. My dates are set up as 11/06/12 to start and then +1 in the next cell so I don't have to enter all the dates. Below that I have =cell above it but formatted as ddd to show day-of-the-week. Now I need to check the day of the week to see if it's Saturday or Sunday but my IF statement only reads the formula, not the resulting text.

    I tried putting the Formula you gave me in the ddd cell but it didn't work. I even had the string for the entire week.

    Thanks

    http://www.excelforum.com/images/smilies/rolleyes.gif

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need excel to see text where I have entered a formula.

    Hi,

    I suggest you upload the workbook so that we can see the request in context. Manually add some results that you expect to see, and if it's not blindingly obvious a note explaining how you calculate the results,

  5. #5
    Registered User
    Join Date
    06-27-2012
    Location
    Sprucedale, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Need excel to see text where I have entered a formula.

    Sorry Richard I cannot do that as yet. The file I am working on has confidential information in it. I will build a sample version that does not have the prohibited info. It will take a while

  6. #6
    Registered User
    Join Date
    06-27-2012
    Location
    Sprucedale, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    6

    Lightbulb Re: Need excel to see text where I have entered a formula.

    I have found the solution
    If I use =TEXT(A2,"ddd")instead of =A2 formatted special as ddd, Excel read the resulting Day of the week as text and not as the formula it is.
    Thanks for your help

+ 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