#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default compare values

Hi,

i have a spreadsheet with data:

document no. | product

I would like the Excel to compare cells a:a with cell f4 in sheet 2.
I need Excel to display all products where cell 'a' is the same as f4 in
Sheet2.

When i use =IF($F$4=sheet1!A2;sheet1!b2) it displays:
false
false
ananas
banana
false

I would like Excel to display only cells with TRUE / product name, so I
would get:

ananas
banana

Thanks,
Nika
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default compare values

=IF($F$4=sheet1!A2;sheet1!b2;"")

"NikaM" wrote in message
...
Hi,

i have a spreadsheet with data:

document no. | product

I would like the Excel to compare cells a:a with cell f4 in sheet 2.
I need Excel to display all products where cell 'a' is the same as f4 in
Sheet2.

When i use =IF($F$4=sheet1!A2;sheet1!b2) it displays:
false
false
ananas
banana
false

I would like Excel to display only cells with TRUE / product name, so I
would get:

ananas
banana

Thanks,
Nika



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
Compare two values Graham Excel Discussion (Misc queries) 4 July 23rd 07 11:32 AM
Compare Values Wiz Excel Worksheet Functions 3 December 1st 06 10:02 AM
Compare values on sheet 1 to values on sheet2 Colin Excel Worksheet Functions 2 August 2nd 06 07:19 PM
compare a few values tkaplan Excel Discussion (Misc queries) 3 May 27th 05 04:27 PM
Excel Compare values in columns & display missing values in a new cpetta Excel Discussion (Misc queries) 1 April 2nd 05 05:51 AM


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

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"