Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

Using Filter string with IF function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Aref - 16 Feb 2008 06:48 GMT
Is there a way to use a filter string with the IF function?
I have a spreadsheet that looks like this:

Invoice No.    Invoice Date    Invoice Currency    Invoice Value
1                       dd/mm/yyyy        USD                1234.56
65                     dd/mm/yyyy        USD                2345.67
74                     dd/mm/yyyy        EUR                3456.78
88                     dd/mm/yyyy        USD                4567.89

when I filter on the currency: is there a function such as
if(filter_string="USD";TRUE;FALSE)???

Thanks
Aref
T. Valko - 16 Feb 2008 08:04 GMT
Maybe this:

Assuming row 1 are the column headers. This array formula** will return the
*first* filtered (or unfiltered) record from column C.

=INDEX(C2:C15,MATCH(1,(SUBTOTAL(3,OFFSET(C2:C15,ROW(C2:C15)-MIN(ROW(C2:C15)),0,1)))*(C2:C15<>""),0))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Signature

Biff
Microsoft Excel MVP

> Is there a way to use a filter string with the IF function?
> I have a spreadsheet that looks like this:
[quoted text clipped - 10 lines]
> Thanks
> Aref
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.