Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default ComboBox Population of Cell Range

A Workbook has two worksheets BSC Rationale and Variables

ComboBox3 on BSC Rationale has a LinkedCell: Variables!$C$11, which is populated from ListFillRange: Variables!$D$11:$D$16. I need to populate merged cell range K8:AA8 on BSC Rationale as follows

If Variables!$C$11 = T1 or T2, then Variables!$D$8, else blank, and
If Variables!$C$11 = R1 or R2 or R3 or R4, then Variables!$D$9, else blan

How this works user selects a T or R value, and the appropriate value appears in K8:AA8

Should this be done by formula or by code in a module

What would the formula/code, be

Thanks
Phi

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default ComboBox Population of Cell Range

These two formulas work. Can they be combined, or should code doing the same thing be used in a module

=IF(((Variables!C11="T1")+(Variables!C11="T2")),Va riables!D8,"Select Strategy"

=IF(((Variables!C11="R1")+(Variables!C11="R2")+(Va riables!C11="R3")+(Variables!C11="R4")),Variables! D9,"Select Strategy")
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
cell auto population - why 0 when source cell is empty? David Smithz Excel Discussion (Misc queries) 4 June 18th 06 05:35 PM
Automatic cell population MazzyMirsa Excel Discussion (Misc queries) 3 February 9th 06 06:15 PM
Userform text & combobox population help required please Newbie1 Excel Programming 5 February 28th 04 05:19 PM
Show one range in a combobox and write the 2nd range! Kevin Excel Programming 1 October 17th 03 05:52 AM
hyperlink - cell population Dave Peterson[_3_] Excel Programming 0 September 25th 03 04:17 AM


All times are GMT +1. The time now is 05:54 AM.

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"