AND is WAY too long

jtidfold

New Member
Joined
Jan 17, 2008
Messages
43
Hello there:

I have a psychotically long "AND" formula in an "IF" formula that I would LOVE to shorten up. It's analyzing 10 cells and it's doing this on 1,800 rows so it's really killing my processing time lol

Here's what "AND" part is now: = IF ( AND (A1 = "VALUE", A2 = "VALUE", etc)

I tried shortening it to = IF ( A1:A10="VALUE") but it errored out on me.

Am I stuck by the limitations of the "AND" formula on this one or is there a shortcut?

As always, the help is much appreciated

Cheers
KD
 

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,)
It might not be - I should've done this to begin with though so it's on me here.

Here's what I'm trying to analyze. I have to see if I can find a serial number in 6 lists, and if I can't I have to show that result. If its in any of the 6 lists, then I don't have to worry about it. The "AND" formula in column P is the killer for me.

Excel Workbook
ABCDEFGHIJKLMNOP
1Serial No"S" Serial NumberNo "S" Serial NumberOn List 1 with "S"On List 1 with No "S"On List 2 With "S"On List 2 With No "S"On List 3 with "S"On List 3 With No "S"On List 4 With "S"On List 4 With No "S"On List 5 With "S"On List 5 With No "S"On List 6 With "S"On List 6 With No "S"On any list (Y/N)?
2S123456789S123456789123456789NONONONONONONONOYESNONONOYES
Analysis
 
Upvote 0
You guys are awesome - I always get the help I need here and it's MUCH appreciated.

I went with Gerald's only to avoid the array - I don't know how much it saves on the processing but every little bit helps.

Thanks again!!!
KD
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,262
Members
449,075
Latest member
staticfluids

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