I am trying to validate a range of cells and if they contain my data, I am trying to add the values assigned below them. Here is a sample of the code I am using now.
=IF(MATCH("JOHN SMITH",'Show and Sell'!A25:A29,0),'Show and Sell'!A36,0)
I have data in A25:A29, C25:C29, E25:C29 and so on up to Q25:Q29. In other words...
=IF(MATCH("JOHN SMITH",'Show and Sell'!A25:A29,0),'Show and Sell'!A36,0)
+
=IF(MATCH("JOHN SMITH",'Show and Sell'!C25:C29,0),'Show and Sell'!C36,0)
+
=IF(MATCH("JOHN SMITH",'Show and Sell'!E25:E29,0),'Show and Sell'!E36,0)
and so on. My formula ended up being way to long, there has to be an easier way. The point behind this formula is to check if a name is on the roster for a multiple salesman sale. If so, the total they earned together is already divided by the number of salesmen but that number needs to be added to their overall sales which is on a different sheet called "Main Page". Thanks to anyone who can help.
=IF(MATCH("JOHN SMITH",'Show and Sell'!A25:A29,0),'Show and Sell'!A36,0)
I have data in A25:A29, C25:C29, E25:C29 and so on up to Q25:Q29. In other words...
=IF(MATCH("JOHN SMITH",'Show and Sell'!A25:A29,0),'Show and Sell'!A36,0)
+
=IF(MATCH("JOHN SMITH",'Show and Sell'!C25:C29,0),'Show and Sell'!C36,0)
+
=IF(MATCH("JOHN SMITH",'Show and Sell'!E25:E29,0),'Show and Sell'!E36,0)
and so on. My formula ended up being way to long, there has to be an easier way. The point behind this formula is to check if a name is on the roster for a multiple salesman sale. If so, the total they earned together is already divided by the number of salesmen but that number needs to be added to their overall sales which is on a different sheet called "Main Page". Thanks to anyone who can help.