in the attached spreadsheet, I have columns on the DEALS sheet where we enter the deal data/.... such as date, customer, stock #, etc.
When there are 2 salesman, the deal gets split, and each salesman gets half of the gross or unit for that deal. I want to keep the data entry super basic and idiot proof... so I want the sheet to do all of the work. I need a formula that can look at a range of rows on the DEAL sheet, and give me data based on a match in EITHER column F or G... AND match one or two other columns as well.
So if I need to count how many (N)ew cars James sold that were (L)eased, but I want a 1 when he's the only salesman (his name would appear in column F, and G would be empty) or 0.5 if there is another salesman in the row. ( he could be in column F OR G). There is a column that indicates New or Used with an N or a U; also a column that indicates (C)ash (F)inanced or (L)eased vehicles.
I want the result to total all cars(rows) entered on the DEALS sheet that match his name from (Staff!AA6) and then live on the STAFF sheet (AY6). I have figured a way of getting what I want (see STAFF!AY) out of it, but it takes 5 columns for each thing I need to track, and I don't think it should.
I tried to incorporate an OR with countifs, but i get a value error. maybe I'm just doing that wrong. I tried a couple ways...this one I thought should work:
anyway...here's the sheet:Please Login or Register to view this content.
I'd appreciate any helpPlease Login or Register to view this content.
Bookmarks