Thread: [Solved] Formula using If and AND
View Single Post
 
Old 10-15-2021, 12:30 PM
14spar15 14spar15 is offline Windows 7 64bit Office 2010 64bit
Advanced Beginner
 
Join Date: Mar 2011
Posts: 97
14spar15 is on a distinguished road
Default Formula using If and AND

Hello, In this Excel file I’ve written a formula in column E that takes all of the rows where column B contain the word “Bob” (I2) and enters the amount associated with that row (Column C) into Column E (Results 1). This works fine. In column F (Results 2) I want to do the same with 2 different scenarios that both need to be met. I want to again take all of the rows where column B contain the word “Bob” (I2) AND Column D (Account) is “A” (J2). I tried this formula =IF(AND(ISNUMBER(SEARCH(I$2,B3),(J$2,D2)), C3,"")) and get a “Too many Arguments” error Thanks
Attached Files
File Type: xlsm Book9.xlsm (10.7 KB, 8 views)
Reply With Quote