+ Reply to Thread
Results 1 to 2 of 2

Problems to get 1st and 2nd "W" in a row range

  1. #1
    Registered User
    Join Date
    06-28-2022
    Location
    Belgium
    MS-Off Ver
    Office 365 Version 2208
    Posts
    12

    Problems to get 1st and 2nd "W" in a row range

    Hello

    I've been struggling the past few days to get the 1st and 2nd "W" in a row range, to display the right name is a certain cell.
    I have a timetable that displays who works on which day, which works perfectly fine, but my problems occur on saturday, where 2 different people work.

    The thing I want to get to work is in Row Range I154:Q154 and Row Range I155:Q155 the "W" appears for the person that needs to work on that day, but AF154 & AF155 always displays the same name because it takes the first "W" it sees in that row, but I want to get the 2nd "W" in AF155, which I don't get to get working...

    Any idea by any chance what formula can do this by any chance?

    Example

    Karen & Wouter need to work on saturday

    What I get:

    Marleen Carolien Jan Anneleen Karen Wouter
    / / / / W W Karen
    / / / / W W Karen

    What I want:

    Marleen Carolien Jan Anneleen Karen Wouter
    / / / / W W Karen
    / / / / W W Wouter

    (Sorry if it's bad explained, I don't really know how to explain it really well the way I want. To be sure I attached the file, but I don't know if the file is gonna work since its linked to other files aswell.

    Thanks in advance!

    Tom
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,659

    Re: Problems to get 1st and 2nd "W" in a row range

    Hello tomdegroot and Welcome to Excel Forum.
    Try replacing the current formula in cell AF154 with:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Once the new formula activated drag the fill handle down to cell AF155.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 06-05-2020, 02:08 AM
  2. [SOLVED] Problems with formatting data ("General" to "Dates")
    By neori in forum Excel General
    Replies: 3
    Last Post: 03-13-2015, 10:34 AM
  3. [SOLVED] newbie using lots of nested "if"s and"and"s. Parenthesis problems?
    By thnkfree in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-14-2014, 08:17 PM
  4. [SOLVED] If Not ActiveSheet.Range("A1").Value Like "apple" Then MsgBox "Error"
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-18-2014, 02:16 PM
  5. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  6. if Range("A1") = "Mike" Then Range("A1") = "michael" Then Exit Sub
    By a8015945 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-30-2013, 10:08 AM
  7. use variable in Workbooks("book1").Worksheets("sheet1").Range("a1"
    By Luc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-28-2005, 04:05 PM

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