#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MFS MFS is offline
external usenet poster
 
Posts: 36
Default specific data

Hi all, I used an example to explain my problem
I have data (plant/car) in column A in sheet 1, I want to have specific data
in sheet2 (only car) without having anything else

Sheet1- A1=car,A2=plant,A3=plant,A4=car

Sheet2- A1=if(sheet1!$A1=car;sheet1!A1;0)-- Sheet2-
A2=if(sheet1!$A2=car;sheet1!A2;0) Sheet2- A3=if(sheet1!$A3=car;sheet1!A3;0)
Sheet2- A4=if(sheet1!$A4=car;sheet1!A4;0) etc

Now for each cell in sheet1 does not equal car, I will get €œzero€ in sheet2
Sheet1- A1=car,A2=0,A3=0,A4=car

What I can do to avoid €œzero€, and to have only the data I want without
spaces between cells, which mean I want to have €œcar€ in sheet2
Sheet1- A1=car,A2=car

Please help me

--
MFS22
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default specific data

HI,
You can copy everything to the 2nd sheet, then sort by "0", highlight all
the rows that have 0, and delete them

"MFS" wrote:

Hi all, I used an example to explain my problem
I have data (plant/car) in column A in sheet 1, I want to have specific data
in sheet2 (only car) without having anything else

Sheet1- A1=car,A2=plant,A3=plant,A4=car

Sheet2- A1=if(sheet1!$A1=car;sheet1!A1;0)-- Sheet2-
A2=if(sheet1!$A2=car;sheet1!A2;0) Sheet2- A3=if(sheet1!$A3=car;sheet1!A3;0)
Sheet2- A4=if(sheet1!$A4=car;sheet1!A4;0) etc

Now for each cell in sheet1 does not equal car, I will get €œzero€ in sheet2
Sheet1- A1=car,A2=0,A3=0,A4=car

What I can do to avoid €œzero€, and to have only the data I want without
spaces between cells, which mean I want to have €œcar€ in sheet2
Sheet1- A1=car,A2=car

Please help me

--
MFS22

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
Import data to specific cells for a specific row Netta Excel Discussion (Misc queries) 0 January 27th 09 04:23 PM
Getting specific data into specific cells? Kram Excel Discussion (Misc queries) 0 November 6th 08 03:09 AM
Get data from specific collumn KT Excel Worksheet Functions 4 September 26th 08 12:28 PM
HOw do i find and sort out data repeats for specific data set JRDePaul Excel Discussion (Misc queries) 0 February 26th 07 11:55 PM
How do I color specific data series based on location on data she Havard Charts and Charting in Excel 1 July 1st 05 02:06 PM


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