Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Variable Value Function Help?

Here is what Im trying to do. In cell B2 I have List Validation that has
a source of: "Local Buy, Mass Media Buy". In cell A2 I want the value to
change based on what i choose in cell B2. What I'm aiming for is when i
select "Mass Media Buy" in Cell B2 then I want Cell A2 to =B14 and when I
select "Local Buy" in cell B2 I want cell A2 to =B19.
I have tried using SUMIF, LOOKUP, and nested IF Functions, none of them
seem to work for what Im coming up with. I know it is possible, but my logic
is faulty with this issue.
Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CM CM is offline
external usenet poster
 
Posts: 136
Default Variable Value Function Help?

in cell A2:

=IF(B2="Mass Media Buy",B14,B19)

this assumes there is at least one choice. otherwise, you will specify what
you want a2 to be if neither buys are selected (this one puts a zero for no
selection):

=IF(B2="Mass Media Buy",B14,IF(B2="Local Buy",b19,0))
--
hope to help,
cm


"Jonathan Cheek" wrote:

Here is what Im trying to do. In cell B2 I have List Validation that has
a source of: "Local Buy, Mass Media Buy". In cell A2 I want the value to
change based on what i choose in cell B2. What I'm aiming for is when i
select "Mass Media Buy" in Cell B2 then I want Cell A2 to =B14 and when I
select "Local Buy" in cell B2 I want cell A2 to =B19.
I have tried using SUMIF, LOOKUP, and nested IF Functions, none of them
seem to work for what Im coming up with. I know it is possible, but my logic
is faulty with this issue.
Any suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Variable Value Function Help?

Thanks allot this really helps. I didn't know you had to put the text in
quotations.

"cm" wrote:

in cell A2:

=IF(B2="Mass Media Buy",B14,B19)

this assumes there is at least one choice. otherwise, you will specify what
you want a2 to be if neither buys are selected (this one puts a zero for no
selection):

=IF(B2="Mass Media Buy",B14,IF(B2="Local Buy",b19,0))
--
hope to help,
cm


"Jonathan Cheek" wrote:

Here is what Im trying to do. In cell B2 I have List Validation that has
a source of: "Local Buy, Mass Media Buy". In cell A2 I want the value to
change based on what i choose in cell B2. What I'm aiming for is when i
select "Mass Media Buy" in Cell B2 then I want Cell A2 to =B14 and when I
select "Local Buy" in cell B2 I want cell A2 to =B19.
I have tried using SUMIF, LOOKUP, and nested IF Functions, none of them
seem to work for what Im coming up with. I know it is possible, but my logic
is faulty with this issue.
Any suggestions?

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
Using a variable in the Range function Dee Sperling Excel Worksheet Functions 3 July 29th 09 09:49 PM
Variable Sum Function David G. Excel Discussion (Misc queries) 9 December 29th 08 08:34 PM
Variable function ESP Tom Excel Discussion (Misc queries) 1 July 10th 06 09:37 PM
Variable function ESP Tom Excel Discussion (Misc queries) 2 July 10th 06 04:01 PM
Variable function ESP Tom Excel Discussion (Misc queries) 0 July 10th 06 02:15 PM


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