LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default create new variable

you may also use OTHER ways,

your 10 names in A1:J1

=+IF(SUM((A2=$A$1:$J$1)*{1}),A2,"ALL OTHERS")
hit ctrl-shift-ent..

or =+IF(MAX((A2=$A$1:$J$1)*{1}),A2,"ALL OTHERS")
hit ctrl-shift-ent..
--
*****
birds of the same feather flock together..



"Ron Coderre" wrote:

Try something like this:

With
Your list of all names in Col_A, beginning in A2
and
N1:N10 contains the list of names you want to "keep"

Try this in Col_B:
B2: =IF(COUNTIF($N$1:$N$10,A2),A2,"All Other")
Copy that formula down as far as you need

Then....just
select the Col_B formula cells
[Ctrl]+C......that's the shortcut for <edit<copy
<edit<paste special<values

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Angie" wrote:

I have a list of names, 10 of which I want to keep as is and the others I
want to change to "all other" (there are too many to use find & replace).
Can I create a new column and new variable to do this?

Thanks,



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a drop down button on a worksheet? Re learning Excel Excel Worksheet Functions 3 August 14th 06 03:28 PM
How to Create a Macro to Edit a Variable Amount of Information Matt New Users to Excel 4 August 12th 06 10:05 PM
Create a tabular control rkg Excel Discussion (Misc queries) 0 August 8th 05 09:25 PM
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? Daniel Excel Worksheet Functions 1 July 9th 05 03:05 AM
I Need VBA Assistance for global variable question Brent E Excel Discussion (Misc queries) 1 March 1st 05 08:46 PM


All times are GMT +1. The time now is 08:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"