I am trying to return a value in a cell if criteria is met in other cells. For example, if A1:A18=Yes, B1:B18=Blue, D1:D18=Car, enter the value in T1:T18
I am trying to return a value in a cell if criteria is met in other cells. For example, if A1:A18=Yes, B1:B18=Blue, D1:D18=Car, enter the value in T1:T18
Hello,
Sumproduct will return a sum of values or a count of values.
You cannot use Sumproduct to return a value in a range. That requires a lookup formula instead.
What exactly do you want to achieve? Please post a data sample in a workbook.
cheers,
In T1
=if(and(A1="Yes",B1="Blue",D1="Car"),T1,"")
copy down
If that does not help, post a workbook.
I have attached the file. What I want is IF I select Yes in Column A, and it is a Diswasher (column B), a Jenn-Air (column C), then the Total Value in Column K will be posted in C24
Thank you again
try
=SUMPRODUCT(--($A$1:$A$18="yes"),--($B$1:$B$18="Dishwasher"),--($C$1:$C$18="Jenn-Air"),$K$1:$K$18)
This would work much better with a pivot table.
That worked....thank you!!!!!!!!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks