Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how do I link optionbutton to column & copy contents to another co

I created a financial model with multiple linked worksheets in excel. In a
particular worksheet, I have 12 columns of data represented three areas of
four
column each, the areas a the base case, the new case, and the model
case. I
have two option buttons, one button for the base case and one button for the
new
case. I want to be able to allow the users of my model to be able to select
either the base case or the new case and when they choose that option that
data
will populate the columns in the model case section. The model case section
is
the data that i want to use in other worksheets in the financial model, but i
need to know which case (the base or the new) they choosing to use. I want
to be able to link the columns related to the base case to the base case
option button and the columns related to the new case to the new case option
button and depending upon the option selected have that option's columns
populate the model case columns.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default how do I link optionbutton to column & copy contents to another co

link the option buttons to cells. Assume A1 and A2 (A1 Base, A2 New)



Assume
H1:K1 is the base case
M1:P1 is the new case

R1:U1 is the model case

in R1
=if($A$1,H1,if($A$2,M1,"")

then drag fill this across to U1 (and if you have multiple rows of data,
select R1:U1 and drag fill down

Assuming ActiveX OptionButtons from the Control Toolbox Toolbar
Put the buttons in the same groupname (see properties)

--
Regards,
Tom Ogilvy


"LeMo" wrote in message
...
I created a financial model with multiple linked worksheets in excel. In

a
particular worksheet, I have 12 columns of data represented three areas of
four
column each, the areas a the base case, the new case, and the model
case. I
have two option buttons, one button for the base case and one button for

the
new
case. I want to be able to allow the users of my model to be able to

select
either the base case or the new case and when they choose that option that
data
will populate the columns in the model case section. The model case

section
is
the data that i want to use in other worksheets in the financial model,

but i
need to know which case (the base or the new) they choosing to use. I

want
to be able to link the columns related to the base case to the base case
option button and the columns related to the new case to the new case

option
button and depending upon the option selected have that option's columns
populate the model case columns.



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
copy entire contents worksheet into new workbook, link but editabl ellyk Excel Discussion (Misc queries) 0 May 12th 10 08:49 PM
Copy a column dependant on a the contents of a cell Peter Excel Worksheet Functions 5 January 17th 07 02:32 AM
how to copy contents of one column to another column in another worksheet yefei Excel Discussion (Misc queries) 3 February 25th 06 05:57 PM
Copy contents in a row and paste in a column CJMFH Setting up and Configuration of Excel 1 July 15th 05 03:14 PM
LINK ONE ROW BASED ON CONTENTS OF A COLUMN WITHIN THE ROW (DATE) Susan Excel Worksheet Functions 0 February 16th 05 05:01 PM


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

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"