If/Then formulas for text
I'd like to write a formula that extracts data from cell #K if cell #F contains a specific text to streamline my invoicing. In more detail, I have a spreadsheet where I itemize my receipts and invoices, group them into client categories, and create sums of what I purchased for each client (for example: receipt 05/01/19 = apples, tomatoes, bread for client A = $; carrots, pickles, applesauce for client B = $; jelly, ketchup, bagels for client C = $).
On the next spreadsheet, I reference the subtotals from the invoices to create weekly itemization and totals.
Is there a way to automate this process instead of directly referencing another sheet with the (=) function? Basically =IF((sheet1:F7="Pinschmidt")then(sheet2:c5=sheet1:K7))
MacBook Pro 13", macOS 10.14