Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default (EXCEL) HOW TO PROGRAM CELL SO DATA WILL POP UP IN OTHER CELLS

I want to know how to "program" a cell (for example A1 on a spreadsheet) so
that when you enter certain data into it (for example, the letter "A"),
certain data will automatically appear in other cells (for example the number
"24" in cell B1 and the number "35" in cell C1.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default (EXCEL) HOW TO PROGRAM CELL SO DATA WILL POP UP IN OTHER CELLS

You can use a formula. In B1, use

=IF(A1="A",24,"")


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Joe the NY Lawyer" <Joe the NY
wrote in message
...
I want to know how to "program" a cell (for example A1 on a
spreadsheet) so
that when you enter certain data into it (for example, the
letter "A"),
certain data will automatically appear in other cells (for
example the number
"24" in cell B1 and the number "35" in cell C1.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default (EXCEL) HOW TO PROGRAM CELL SO DATA WILL POP UP IN OTHER CELLS

Are worksheet formulas suitable? For instance, enter '=If(A1=5,35,"")' into
C1.

HTH
-Mike

"Joe the NY Lawyer" <Joe the NY wrote in
message ...
I want to know how to "program" a cell (for example A1 on a spreadsheet) so
that when you enter certain data into it (for example, the letter "A"),
certain data will automatically appear in other cells (for example the
number
"24" in cell B1 and the number "35" in cell C1.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default (EXCEL) HOW TO PROGRAM CELL SO DATA WILL POP UP IN OTHER CELLS

You can do this with the change event.

For an intro to events, see Chip Pearson's page
http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy

"Joe the NY Lawyer" <Joe the NY wrote in
message ...
I want to know how to "program" a cell (for example A1 on a spreadsheet)

so
that when you enter certain data into it (for example, the letter "A"),
certain data will automatically appear in other cells (for example the

number
"24" in cell B1 and the number "35" in cell C1.



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
My computer keeps speaking out cells in excel, no other program K8 Excel Discussion (Misc queries) 1 October 23rd 09 03:45 PM
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene LunaMoon Excel Discussion (Misc queries) 0 July 28th 08 11:03 PM
How can I program excel to shift data up to fill empty cells? Howlingstraycat Excel Discussion (Misc queries) 1 December 22nd 07 11:58 PM
How do I program the cells in Excel to add, subtract, etc? Bob Mulligan Excel Worksheet Functions 4 May 1st 06 08:22 PM
breaking a cell into two cells via VBA program Jordan Excel Programming 5 January 8th 05 08:14 PM


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