+ Reply to Thread
Results 1 to 7 of 7

Help!! Need to know how to assign characters for a group of cells

  1. #1
    Registered User
    Join Date
    05-30-2014
    Posts
    1

    Help!! Need to know how to assign characters for a group of cells

    Hi All,

    If i have 5 names like apple,boy,cat,dog,energy

    and if i enter a in a cell it should output apple in the same cell.

    example: (=IF(A1="a",A1=apple,0))

    can anyone tell me how to do this,

    Thanks in advance,
    Akay

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Help!! Need to know how to assign characters for a group of cells

    You could do list data validation for the other cell off A1:Ax

    i think..
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Help!! Need to know how to assign characters for a group of cells

    You could do list data validation for the other cell off A1:Ax

    i think..

  4. #4
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Help!! Need to know how to assign characters for a group of cells

    You can use Excel AutoCorrect options

  5. #5
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Help!! Need to know how to assign characters for a group of cells

    Third option - you could create a worksheet_Change routine that checks for the values you want and changes the cell value if required.

  6. #6
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Help!! Need to know how to assign characters for a group of cells

    Wont the change trigger the change event again though?

  7. #7
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Help!! Need to know how to assign characters for a group of cells

    It shouldn't if you turn the EnableEvents to off before you do the change and back on after you are done.

+ 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: 0
    Last Post: 10-29-2012, 11:52 AM
  2. [SOLVED] Assign a group of worksheets to a single variable
    By khystra42 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-18-2012, 05:33 PM
  3. Lookup formula to assign a product group
    By pauldaddyadams in forum Excel General
    Replies: 3
    Last Post: 02-07-2012, 02:02 PM
  4. How can I add characters to a group of cells?
    By anthony62490 in forum Excel General
    Replies: 2
    Last Post: 09-08-2009, 03:52 PM
  5. Assign a group name to a value
    By Martindelica in forum Excel General
    Replies: 4
    Last Post: 07-11-2007, 09:10 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