+ Reply to Thread
Results 1 to 2 of 2

change col A vaules based on odd col b values

  1. #1
    Registered User
    Join Date
    03-23-2005
    Posts
    2

    change col A vaules based on odd col b values

    we 'paste text' a large data scape from a webpage into empty sheet cell A1, then it can be widely variable length, width not relevant (ends up 8 cols??)

    right now we only care about cols A and B

    col b values can be blank, short, long.. messy
    IF col b has the word 'arrives' starting at position 5 (there are other probable valid conditions to test, but this is bullet proof)
    we need to copy the 1st three character of the B text over to left (col A)
    IF NOT, need to blank out cell to left (col A)

    I troubleshot/subbed a lot and am dizzy swapping and looking for logic or my nemesis syntax (plus, frustrated, as this isn't too hard). My gut says my IF statement line is bad.

    can anyone please show me the light?? THANK YOU ..

    Please Login or Register  to view this content.
    Last edited by sbktex; 11-26-2014 at 07:35 PM.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: change col A vaules based on odd col b values

    Hi sbktex,
    Welcome to the forum.

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    Now back to your problem. Yes you are correct, you need to change your if statement but to know the answer, add the tags as requested around your code first and to do so Edit your first post and follow the instructions to add tags around the code.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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] Compare 3 vaules and Change Cell Color - Excel 2003
    By SVTF in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-29-2013, 09:13 PM
  2. Replies: 0
    Last Post: 09-28-2012, 07:55 AM
  3. Calculating min/max of set of values based on day change
    By this_barb in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-06-2010, 03:21 PM
  4. generate stmt based on tables vaules
    By kaffal in forum Excel General
    Replies: 1
    Last Post: 01-18-2009, 04:38 PM
  5. Values change based on date
    By ipodman in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-26-2007, 08:00 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