+ Reply to Thread
Results 1 to 2 of 2

Condition according to a code that changes

  1. #1
    Registered User
    Join Date
    07-29-2022
    Location
    France
    MS-Off Ver
    2202
    Posts
    1

    Exclamation Condition according to a code that changes

    Hello,

    I need your help.
    I want to create a condition on my file. The goal is to recover only the beginning and the end of a block of data.

    For example :

    code | start | end | client
    01m 2:03 4:10 Jackson
    01m 2:10 4:02 Carla
    01m 1:10 3:02 Clara
    01m 1:23 3:40 Ed
    02i 2:02 2:10 Layla

    I want him to send me back: (because the code has changed)

    code | start | end | client
    01m 2:03 4:10 Jackson
    01m 1:23 3:40 Ed
    02i 2:02 2:10 Layla

    If you have any tips to help me, I'd love to hear from you.

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,223

    Re: Condition according to a code that changes

    For now, a solution without using code.
    1. in column E (from cell E2), insert a formula and drag it down to the end of the data (EN version):
    Please Login or Register  to view this content.
    or FR version
    Please Login or Register  to view this content.
    2. filter column E by selecting only "<<<"
    3. select any cell in the data range, such as A1, and use the shortcut Ctrl+a
    4. copy the selected range and paste it into the desired place
    5. delete column E and the last column in the pasted range
    6. done

    Artik

+ 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. [SOLVED] A condition in this code
    By wizzan1 in forum Excel General
    Replies: 6
    Last Post: 07-09-2019, 04:42 PM
  2. VBA code to color code data based on condition
    By rshnkmr39 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-10-2015, 01:06 AM
  3. [SOLVED] How to add if condition to this code?
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-18-2014, 07:24 AM
  4. [SOLVED] Add condition to this code
    By pezalmendra in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-02-2013, 05:59 AM
  5. Code for If Condition
    By anwitha in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-09-2010, 04:20 AM
  6. add new condition in code
    By barkarlo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-09-2009, 02:40 PM
  7. Add another condition to code
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2007, 11:59 AM

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