Results 1 to 8 of 8

Tricky SUBSTITUTE or REPLACE

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-04-2013
    Location
    Bucharest
    MS-Off Ver
    Office Professional Plus 2019
    Posts
    304

    Tricky SUBSTITUTE or REPLACE

    What's the best way to swap the digits inside each cell of the L column?
    That is, the first digit should be replaced by the second, and the second digit should be replaced by the first.
    2-0 will be 0-2
    2-1 will be 1-2
    3-0 will be 0-3
    3-1 will be 1-3
    3-2 will be 2-3

    EDIT: it think it can be done with IF

    IF(L1="2-0","0-2", and then nested ifs for each case.. so I think I got it solved

    Also on a sidenote, is there any easy way to automatically select the last 30/60 days from the date pickers? They are linked to cells T15 and T28 but if I change the dates in the cells manually I get an error, possibly because of the DATEVALUE in the date selection formula.

    Thanks!
    Attached Files Attached Files
    Last edited by bibu; 03-16-2014 at 01:20 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] substitute/replace until
    By JanRaven in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-02-2012, 12:03 PM
  2. A tricky find and replace
    By arthurArthur in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-16-2011, 10:50 AM
  3. Replace or substitute formula maybe? Not sure what one to use?
    By essexpoker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2008, 11:25 AM
  4. [SOLVED] [SOLVED] Replace/substitute
    By Viktor Ygdorff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-17-2006, 09:40 AM
  5. [SOLVED] Substitute/Replace
    By Viktor Ygdorff in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-17-2006, 07:40 AM

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