Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default if val in col3 is one of 13 codes (list), apply factor to val in c

Need a function to apply a factor to certain values (col2) in a large table
if val in same row, col3 is one of 13 codes - a list in col6. For
illustration (caps letters denote excel column labels):

A B C D E F G H I J K L M

23 a b
14 c g
42 d e
31 b
64 f
23 g
99 g

so for this example, the function would be inserted in a new column, say L.
It looks for instances of b,e and g in col B and if found returns the
corresponding value in Col A* a factor.

Suggestions appreciated. Or(Exact) doesn't work.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default if val in col3 is one of 13 codes (list), apply factor to val in c

Hi,
If your codes are listed in Column 6 (Say, F1:F13), then in C2 enter:
=IF(COUNTIF(F1:F13,C2)0,"factor","no factor")

Is this what you need?

Regards - Dave.
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
Apply a percentage factor to a base number Gary''s Student Excel Worksheet Functions 1 July 29th 08 08:43 PM
Apply a percentage factor to a base number Mike H Excel Worksheet Functions 1 July 29th 08 08:41 PM
List Project Codes Tig Excel Worksheet Functions 1 February 25th 08 12:32 PM
Any function to determine the smallest common factor from a list? Eric Excel Discussion (Misc queries) 4 December 10th 06 07:47 PM
How do I apply a list of zip codes to a map in Excel? Dan Excel Discussion (Misc queries) 0 April 28th 06 05:54 PM


All times are GMT +1. The time now is 02:44 PM.

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

About Us

"It's about Microsoft Excel"