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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,215,375
Messages
6,124,583
Members
449,174
Latest member
chandan4057

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