Results 1 to 5 of 5

Multiple substitute question.

Threaded View

  1. #1
    Registered User
    Join Date
    03-31-2010
    Location
    New York, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question Multiple substitute question.


    Hello, I am quite new to Excel but I have come across a complicated problem (at least for me it is complicated).

    I am trying to create a worsheet that automates codes for television file IDs. I have been successful in automating these with the exception of one cell. The cell that I need to formulate should be able to substitute a day (Monday, Tuesday, Wednesday...) that eminates from a cell in a different row with a number (1 to 7). Example: IF cell E1 has "Thursday", then L1 is "4". I am able to already do this with a SUBSTITUTE formula, However, the originating DAY cell is derived from another cell that contains a date.

    My problem occurs since the DAY cell is random. I have tried in vein to create the argument =SUBSTITUTE(E1,"Monday","1",1) plus =SUBSTITUTE(E1,"Tuesday","2",1) plus =SUBSTITUTE(E1,"Wednesday","3",1) all the way thru plus =SUBSTITUTE(E1,"Sunday","7",1)

    Is this at all possible or is my syntax just wrong (obviously it is wrong)

    I would really appreciate any help.

    Thanks in advance.
    Last edited by luxgap; 03-31-2010 at 04:10 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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