Filter function

Sarah7828

New Member
Joined
Oct 25, 2024
Messages
15
Office Version
  1. 2021
Hi

I am trying to use the filter function to extract data

I have the following column titles I want to bring across

Acctid , transaction ….premium account , difference

In the difference column is my criteria such as -0.01 , 0.01

My formula ( on a new worksheet)

Cell A2= - 0.01

=filter(acctid to difference, difference =A2,””)

The formula only returns on row when there are more than that

Could you let me know what I am doing wrong in the formula

Thank you
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
That's not your literal formula is it?

If A2 and your filter formula are on a separate worksheet to the data sheet where the columns of interest are, then you need to precede the references by the sheet name. So for example if your columns acctid etc are in A2:E30 on Sheet1 then:

Excel Formula:
=FILTER(Sheet1!A2:E30,Sheet1!E2:E30=$A$2,"")
 
Upvote 0
Hi myall that is what I have done , but only one row for that criteria , for example , 0.01 comes across
 
Upvote 0
Try this:

=filter(acctid to difference, ABS(difference -A2)<=0.01,””)
 
Upvote 0

Forum statistics

Threads
1,224,735
Messages
6,180,636
Members
452,992
Latest member
TokugawaIesuma

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