Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Assigning words to a number

I am trying to build a formula, where I can have assign a number to a phrase.
Specifically, I want to make a list of training classes people have attended,
and I want to enter a number in the cell, and have it grab the class name.

Conversely, I want to use the same cells, to auto fill another field, that
any numbers NOT in the first cell, will be auto-filled in the other field, to
indicate the name of classes NOT taken.

all help is much appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Assigning words to a number

Try this sample which illustrates one way to get both result sets,
ie the classes attended list, & the converse result, classes not attended

http://www.freefilehosting.net/download/3d07d
Extract classes attended n converse listing.xls

Source reference table created in cols A & B,
Class descriptions in A2 down, reference codes in B2 down

Assume input codes for classes attended will be entered in E2 down
In F2:
=IF(E2="","",INDEX(A:A,MATCH(E2,B:B,0)))

In G2:
=IF(B2="","",IF(ISNUMBER(MATCH(B2,E:E,0)),"",ROW() ))
Leave G1 blank

In H2:
=IF(ROWS($1:1)COUNT(G:G),"",INDEX(A:A,SMALL(G:G,R OWS($1:1))))
Select F2:H2, copy down to the last row of source data in col A.
Minimize/hide col G. Col F will return "Classes Attended" while col H returns
the converse: "Classes NOT attended"
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Prelate" wrote:
I am trying to build a formula, where I can have assign a number to a phrase.
Specifically, I want to make a list of training classes people have attended,
and I want to enter a number in the cell, and have it grab the class name.

Conversely, I want to use the same cells, to auto fill another field, that
any numbers NOT in the first cell, will be auto-filled in the other field, to
indicate the name of classes NOT taken.

all help is much appreciated!

Reply
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
Assigning a number value to text SoupNazi Excel Worksheet Functions 6 April 22nd 23 06:12 AM
Help assigning a number to a word modicon2 Excel Discussion (Misc queries) 7 August 21st 06 03:37 AM
Assigning values to words cardingtr Excel Discussion (Misc queries) 4 February 18th 06 04:30 AM
Assigning a number value to a letter? Orphan86 Excel Discussion (Misc queries) 3 August 30th 05 11:45 PM
assigning ranks to number ranges nikki8327 Excel Worksheet Functions 1 August 24th 05 10:39 PM


All times are GMT +1. The time now is 04:49 PM.

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"