+ Reply to Thread
Results 1 to 2 of 2

Excel 2003 Change between 1 and 2 if name changes

Hybrid View

  1. #1
    Registered User
    Join Date
    10-22-2013
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    17

    Question Excel 2003 Change between 1 and 2 if name changes

    Hello,

    I am trying to change the number between 1 and 2 in column A if the name in column B changes, example is in the table below.

    A B
    1 1 Name1
    2 1 Name1
    3 2 Name2
    4 2 Name2
    5 1 Name3
    6 1 Name3

    Is this possible to do somehow?

    Thank you in advance for your help

    Serge

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Excel 2003 Change between 1 and 2 if name changes

    well, maybe something like this:
    (assumes no matter what, B1 name is A1=1):
    A1=1
    A2:
    Formula: copy to clipboard
    =IF(B2=B1,A1,IF(A1=1,2,1))

    Drag down

    Hope this helps

    EDIT -
    If you had decided on 0 and 1 it would be even simpler
    Formula: copy to clipboard
    =IF(B2=B1,A1,NOT(A1))
    Last edited by dredwolf; 11-20-2013 at 04:38 AM.
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

+ 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: 2
    Last Post: 06-14-2012, 06:50 AM
  2. Excel 2003 hyperlink change in windows 2003 server
    By avipenina in forum Excel General
    Replies: 0
    Last Post: 07-24-2007, 04:48 AM
  3. [SOLVED] How can I change the formula bar in excel 2003?
    By Triple in forum Excel General
    Replies: 1
    Last Post: 03-14-2006, 10:00 PM
  4. Word 2003 Find/Change Automation from Excel 2003 crashes Excel 200
    By Joel Berry in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-06-2006, 06:25 PM
  5. How do I change the Tab spacing in Excel 2003?
    By Allen Dunn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2006, 02:15 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