FILTER OR VLOOKUP !

MAlhash

New Member
Joined
Mar 26, 2023
Messages
41
Office Version
  1. 365
Platform
  1. Windows
Hello!

I have a data where I was success in filtering 2 column which do not include zeros, however, I was not able to retrieve the data which is related to those two columns.

This My Table

Table Slicers on Excel Dashboards
DEPTColumn1Q1Q2
BONE & JOINT CENTERleft without being seen00
BONE & JOINT CENTERwrong clinic appointment00
BONE & JOINT CENTERsupport services - facilities00
BONE & JOINT CENTERleft against medical advice00
HBKMC BUILDING 329left without being seen00
HBKMC BUILDING 329wrong clinic appointment00
HBKMC BUILDING 329support services - facilities00
HBKMC BUILDING 329left against medical advice00
INTERNAL MEDICINE CLINICleft without being seen00
INTERNAL MEDICINE CLINICwrong clinic appointment00
INTERNAL MEDICINE CLINICsupport services - facilities00
INTERNAL MEDICINE CLINICleft against medical advice00
OPD LEVEL 1left without being seen01
OPD LEVEL 1wrong clinic appointment12
OPD LEVEL 1support services - facilities30
OPD LEVEL 1left against medical advice00
OPD LEVEL 2left without being seen84
OPD LEVEL 2wrong clinic appointment21
OPD LEVEL 2support services - facilities00
OPD LEVEL 2left against medical advice00
OPD LEVEL 3left without being seen00
OPD LEVEL 3wrong clinic appointment00
OPD LEVEL 3support services - facilities10
OPD LEVEL 3left against medical advice00
OPD LEVEL 4left without being seen00
OPD LEVEL 4wrong clinic appointment10
OPD LEVEL 4support services - facilities00
OPD LEVEL 4left against medical advice21
OUTPATIENT DEPARTMENTleft without being seen00
OUTPATIENT DEPARTMENTwrong clinic appointment00
OUTPATIENT DEPARTMENTsupport services - facilities00
OUTPATIENT DEPARTMENTleft against medical advice10
PEDIATRICleft without being seen10
PEDIATRICwrong clinic appointment00
PEDIATRICsupport services - facilities00
PEDIATRICleft against medical advice00

I have filtered the first two columns.
Table Slicers on Excel Dashboards
OPD LEVEL 1left without being seen
OPD LEVEL 1wrong clinic appointment
OPD LEVEL 1support services - facilities
OPD LEVEL 2left without being seen
OPD LEVEL 2wrong clinic appointment
OPD LEVEL 3support services - facilities
OPD LEVEL 4wrong clinic appointment
OPD LEVEL 4left against medical advice
OUTPATIENT DEPARTMENTleft against medical advice
PEDIATRICleft without being seen
QATAR METABOLIC INSTITUTEleft against medical advice
SURGICAL SPECIALTY CENTER - OUTPATIENT DEPARTMENTleft without being seen
SURGICAL SPECIALTY CENTER - OUTPATIENT DEPARTMENTsupport services - facilities

I have used this formula.

First column ( =FILTER(C4:C55,(E4:E55>0)+(F4:F55>0))
Second column (=FILTER(D4:D55,(E4:E55>0)+(F4:F55>0))

Now I need to retrieve the right data related to those two columns from Q1 and Q2


Thank you
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Why not simply use
Excel Formula:
=FILTER(C4:F55,(E4:E55>0)+(F4:F55>0))
 
Upvote 0
Solution
Why not simply use
Excel Formula:
=FILTER(C4:F55,(E4:E55>0)+(F4:F55>0))
Many Thanks.
Thank you, a lot.
sorry, I did not know that I can filter more than column in one formula.

Thank you!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top