Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default keywords, modifiers

I'd like to associate modifiers with keywords.

Easier to explain with an example: listing keyword 'friend' in the
'Attributes' column applies +20% likelihood to the 'Invite to Dinner'
column. Let's say keyword 'wife_dislikes' is *also* listed in the
'Attributes' column, so then a separate -30% modifier is applied to
'Invite to Dinner'. When I calculate the table, the calculation looks
at the list of attributes, and applies the appropriate modifiers to
the appropriate columns. (And it's all cumulative, so the cumulative
modifier in our example is -10%.)

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default keywords, modifiers

Which part are you having a problem with ?
You might look at vlookup as a start...

Tim

wrote in message
...
I'd like to associate modifiers with keywords.

Easier to explain with an example: listing keyword 'friend' in the
'Attributes' column applies +20% likelihood to the 'Invite to Dinner'
column. Let's say keyword 'wife_dislikes' is *also* listed in the
'Attributes' column, so then a separate -30% modifier is applied to
'Invite to Dinner'. When I calculate the table, the calculation looks
at the list of attributes, and applies the appropriate modifiers to
the appropriate columns. (And it's all cumulative, so the cumulative
modifier in our example is -10%.)



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default keywords, modifiers

Thanks Tim. Yes, that's exactly what I use. In particular, something
like this:

=C2+(C2*VLOOKUP(B2, G1:H3, 2, FALSE)/100)

(Column B is the "attribute name" column, and C is my "base value"
column. G1:H3 is my modifiers table: G says the modifier name, H says
the percentage bonus.)

My question: I want to be able to name more than one attribute in an
attribute cell. Is it possible for me to "tokenize" a comma-separated
list in a cell, and iterate over each of the modifier names, applying
each effect cumulatively? (My way above only allows one attribute name
per cell in the B column.)


On Dec 24, 5:55*pm, "Tim Williams" <timjwilliams at gmail dot com
wrote:
Which part are you having a problem with ?
You might look at vlookup as a start...

Tim

wrote in message

...

I'd like to associate modifiers with keywords.


Easier to explain with an example: listing keyword 'friend' in the
'Attributes' column applies +20% likelihood to the 'Invite to Dinner'
column. Let's say keyword 'wife_dislikes' is *also* listed in the
'Attributes' column, so then a separate -30% modifier is applied to
'Invite to Dinner'. When I calculate the table, the calculation looks
at the list of attributes, and applies the appropriate modifiers to
the appropriate columns. (And it's all cumulative, so the cumulative
modifier in our example is -10%.)


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
VBA keywords vocabulary HappySenior Excel Programming 4 July 13th 08 11:34 PM
Deleting rows that don't contain keywords Chris Excel Programming 6 June 1st 07 06:26 PM
Excel VBA keywords Excel programming questions Excel Programming 2 December 16th 04 12:13 AM
Searching for keywords tess457[_3_] Excel Programming 2 September 21st 04 10:24 PM
VBA Keywords TAM Excel Programming 2 August 25th 03 07:38 PM


All times are GMT +1. The time now is 12:18 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"