Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pm pm is offline
external usenet poster
 
Posts: 122
Default Filling in data when...

I have some data that comes out of our analysis in the following format:

Name Base 1 Base 2
Gina G
Ted A T
Tim C A
Norm T

So, sometimes there are values just for one base, other times both bases are
present. My question is for those that only have 1 entry, how do I duplicate
that entry in the empty column. For example, for Gina I would want to
duplicate the G in the base 2 column. Ted and Tim are fine, since they have
2 values already. For Norm, Base 1 should equal T as well.

Thanks in advance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default Filling in data when...

One way is to insert two more columns and use the following formulas

[d2]=if(b2="",c2,b2)
[e2]=if(d2="",b2,d2)

and then copy it down.

and if you want to preserve the values copy pastespecial will do it.

--
Hope this helps
Martin Fishlock
Please do not forget to rate this reply.


"pm" wrote:

I have some data that comes out of our analysis in the following format:

Name Base 1 Base 2
Gina G
Ted A T
Tim C A
Norm T

So, sometimes there are values just for one base, other times both bases are
present. My question is for those that only have 1 entry, how do I duplicate
that entry in the empty column. For example, for Gina I would want to
duplicate the G in the base 2 column. Ted and Tim are fine, since they have
2 values already. For Norm, Base 1 should equal T as well.

Thanks in advance!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Filling in data when...

Data Filter Auto Filter

Select a drop down on Base1, then select (Blanks). In Base 2 type ="the
cell of base 1", then copy all the way down as far as needed.

Do the same on Base 2


"pm" wrote:

I have some data that comes out of our analysis in the following format:

Name Base 1 Base 2
Gina G
Ted A T
Tim C A
Norm T

So, sometimes there are values just for one base, other times both bases are
present. My question is for those that only have 1 entry, how do I duplicate
that entry in the empty column. For example, for Gina I would want to
duplicate the G in the base 2 column. Ted and Tim are fine, since they have
2 values already. For Norm, Base 1 should equal T as well.

Thanks in advance!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 620
Default Filling in data when...

If b and c were the original partly completed columns, shouldn't [e2] be
=if(c2="",b2,c2) ? (c2 rather than d2?)
--
David Biddulph

"Martin Fishlock" wrote in message
...
One way is to insert two more columns and use the following formulas

[d2]=if(b2="",c2,b2)
[e2]=if(d2="",b2,d2)

and then copy it down.

and if you want to preserve the values copy pastespecial will do it.

--
Hope this helps
Martin Fishlock
Please do not forget to rate this reply.


"pm" wrote:

I have some data that comes out of our analysis in the following format:

Name Base 1 Base 2
Gina G
Ted A T
Tim C A
Norm T

So, sometimes there are values just for one base, other times both bases
are
present. My question is for those that only have 1 entry, how do I
duplicate
that entry in the empty column. For example, for Gina I would want to
duplicate the G in the base 2 column. Ted and Tim are fine, since they
have
2 values already. For Norm, Base 1 should equal T as well.

Thanks in advance!



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
Manual control of link updating for downloaded quotes? dk_ Excel Discussion (Misc queries) 9 November 15th 06 01:04 PM
Macro question Chris Excel Worksheet Functions 12 July 7th 06 01:23 AM
Inputting data to one worksheet for it effect another daedalus1 Excel Discussion (Misc queries) 1 June 25th 06 04:39 PM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM


All times are GMT +1. The time now is 03:31 PM.

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"