If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I am trying to write a function that returns a value that meets certain criteria. I have a worksheet that has about 40 rows and I want to return the number to a different worksheet that meets two criteria. What function would you recommend.
Ex if value in column A = Tree and value in column B = 1999 then total and show on a different worksheet.
Just as a reminder, when you use SUMPRODUCT, you have to specify the rows. You cannot use A:A (as you can in other functions), it has to be A2:A50 or something like that.
__________________
old, slow, and confused
but at least I'm inconsistent!