PC Review


Reply
Thread Tools Rate Thread

compare values

 
 
NikaM
Guest
Posts: n/a
 
      17th Dec 2007
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 With Quote
 
 
 
 
Stephen
Guest
Posts: n/a
 
      17th Dec 2007
=IF($F$4=sheet1!A2;sheet1!b2;"")

"NikaM" <(E-Mail Removed)> wrote in message
news:18BFB4BA-BB19-4C7E-87F5-(E-Mail Removed)...
> 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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compare multiple values in one cell to a range of values in multiplecells? hfx.selling Microsoft Excel Worksheet Functions 4 1st Nov 2008 09:01 PM
Excel Compare values in columns & display missing values in a new =?Utf-8?B?Y3BldHRh?= Microsoft Excel Misc 1 2nd Apr 2005 05:51 AM
How do i compare values from two sheet and copy & paste if values match? =?Utf-8?B?cm96Yg==?= Microsoft Excel Programming 0 5th Mar 2004 12:06 AM
Compare Listbox values with Collection values Stuart Microsoft Excel Programming 2 20th Sep 2003 01:58 PM
compare values between workbooks and copy values bgardiner Microsoft Excel Programming 0 9th Sep 2003 03:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:43 PM.