+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Using Logical Formula on formatted Cells

  1. #1
    Registered User
    Join Date
    06-28-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    2

    Exclamation Using Logical Formula on formatted Cells

    Thank you in advance to helping me, I am Trying to use Outlook and excel to calculate the pay i should receive each month, I use Outlook mobile to schedule my working hours and export it into excel with the following fields:

    Subject, <day> (manually entered), Start date, start time, end time, <#hours>(manually entered), <#mins>(manually entered), <Pay rate> (manually entered)

    I then create a filter on subject to show only my work appointments

    I copy all the start date field into day field and use a custom format of 'dddd' so it displays the Day of the week ie Monday

    I now want to use an IF command to display which pay rate i should be on: Say i get Paid £10/hour every day except sunday which is £15/hour I have tried using the following formula: =IF(B5="Sunday","15", "10") where B5 is the day field, however it is not working as my formula is reading the unformatted data ie 28/06/09 and not the formatted data of 'Sunday'

    Any way to fix this? i hope my problem is readable

    just to clarify im using Excel 2007 not Excel mobile!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Using Logical Formula on formatted Cells

    try
    =IF(WEEKDAY(B5)=1,"15", "10"
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    06-28-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Using Logical Formula on formatted Cells

    hi thanks for the reply i tried it and sadly didnt work, i then tried using the weekday formula which i didnt know about instead of using format 'dddd' of my dates and seeing if that works... and it did :D thanks a bunch

+ 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