Negative return formula

LozSale

Board Regular
Joined
Aug 19, 2004
Messages
50
I am working with a series of sheets within a file and need to consolidate some information.

Columns are:

Column N is a series of numbers from blank through 0 - 9.

Column B contains criteria in text format.

The folumala that I need should find, for instance:

All instances of "8" in column N that do not contain "AAC", "REME", "RLC" in column B.

Can anyone help.

Many thanks

Loz
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
just to be quite clear, the following will count the qualifying rows. "Finding" records is a bit general and when you mentioned "consolidate" with "finding" I am not sure if I am providing what you want.

=sumproduct(--(N1:N100=8),--(b1:B100<>"AAC"),--(b1:B100<>"REME"),--(b1:B100<>"RLC"))

header rows cannot be included. If you have header row(s), change the first cell reference to the first data row.

change the last data row from 100 to whatever your last data row is.
 
Upvote 0
Do you want to count the entries? Example:

=SUMPRODUCT(--(Sheet2!N1:N20=8),((Sheet2!B1:B20<>"AAC")*(Sheet2!B1:B20<>"REME")*(Sheet2!B1:B20<>"RLC")))
 
Upvote 0
Thanks Barry Houdini,

Yours was the winner. I may not have made myself clear but I needed all those entries which did not meet the criteria e.g. all those entries that return 6 in N but do not meet the text criteia in B.

Thanks very much

Loz
 
Upvote 0
that is funny. all the formulas did the same exact thing except stated differently. If one worked, they will all work.
 
Upvote 0
nbrcrunch said:
that is funny. all the formulas did the same exact thing except stated differently. If one worked, they will all work.

While that's right, the formula the OP picked out would be fastest (and probably more intelligible).
 
Upvote 0

Forum statistics

Threads
1,214,535
Messages
6,120,090
Members
448,944
Latest member
sharmarick

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