Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How to auto add data based on value in another column

Hi, I want to automatically add data in a column depending on the value of
data in another column. For example, if column one has a value of 1,3,9 or 12
then a value of 1 is automatically entered in column 2; if column one has a
value of 2,4,7,8 or 11 then a value of 2 is automatically entered in column
2.... and so on. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to auto add data based on value in another column

One way
Assuming data is in A1 down
in B1:
=IF(ISNUMBER(MATCH(A1,{1;3;9;12},0)),1,IF(ISNUMBER (MATCH(A1,{2;4;7;8;11},0)),2,""))
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"AlanMB" wrote:
Hi, I want to automatically add data in a column depending on the value of
data in another column. For example, if column one has a value of 1,3,9 or 12
then a value of 1 is automatically entered in column 2; if column one has a
value of 2,4,7,8 or 11 then a value of 2 is automatically entered in column
2.... and so on. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How to auto add data based on value in another column

Max

What about the "and so on"<g


Gord

On Tue, 20 May 2008 06:24:01 -0700, Max wrote:

One way
Assuming data is in A1 down
in B1:
=IF(ISNUMBER(MATCH(A1,{1;3;9;12},0)),1,IF(ISNUMBE R(MATCH(A1,{2;4;7;8;11},0)),2,""))
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"AlanMB" wrote:
Hi, I want to automatically add data in a column depending on the value of
data in another column. For example, if column one has a value of 1,3,9 or 12
then a value of 1 is automatically entered in column 2; if column one has a
value of 2,4,7,8 or 11 then a value of 2 is automatically entered in column
2.... and so on. Thanks.


  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to auto add data based on value in another column

.. What about the "and so on"<g

Aha, I missed that, Gord.
Guess I should have said: "Try something like .. "
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How to auto add data based on value in another column

I always have a problem with the "and so on" and "etc."

How many is "and so on"?


Gord

On Wed, 21 May 2008 02:19:30 +0800, "Max" wrote:

.. What about the "and so on"<g


Aha, I missed that, Gord.
Guess I should have said: "Try something like .. "




  #6   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to auto add data based on value in another column

Agreed, subjective. And that could well form the subject of a new post by
the OP. But as-is, think the OP is quite happy with the response.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
I always have a problem with the "and so on" and "etc."

How many is "and so on"?


Gord



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
Auto entry of data based on entry of text in another column or fie Judy Rose Excel Discussion (Misc queries) 2 May 21st 08 01:14 PM
Auto column insertion based on a number halatree Excel Worksheet Functions 0 January 11th 08 08:47 PM
y-axis auto range based on data limits hlmrspd Charts and Charting in Excel 5 May 24th 07 11:08 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
Auto fill Column based on data in other columns SITCFanTN New Users to Excel 1 June 6th 06 09:04 PM


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