#1
|
|||
|
|||
Trying to match values across multiple sheets
I have a spreadsheet with data on 3 separate tabs. I don't if I'm trying to do too much with the spreadsheet, but this is what I need: Sheet1 has columns with sections, products, and planned buy/sell dates. Sheet2 has a column listing non-business days. Sheet3 is a calendar that has rows which match the sections of the product, product number, and value from sheet1, and has a 7-day calendar. I need a second if statement (or something) added to the function below. This function matches the data on sheet1 with sheet2, matches a buy date on sheet1 with a calendar date on sheet2, and inserts "BD" if its true. =IF(COUNTIFS(BySection!$E:$E,$A4,BySection!$B:$B,$ B4,BySection!$C:$C,$C4,BySection!$F:$F,D$2),"BD"," ") I need to also insert "SD" for a slightly different set of criteria: If the product information on sheet1 matches the product information on sheet2, the Sell date matches the calendar date on sheet2 and it is not a non-business day (listed on sheet3), then put "SD" in the cell. |
#2
|
|||
|
|||
A properly sanitized version of your workbook would help immensely.
|
#3
|
|||
|
|||
I appreciate you looking at the thread. They have now changed the criteria so I am starting over....I'll attach the workbook in any future thread. New to the forum :-)
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using If function in VBA to match data from two sheets | cinstanl | Excel Programming | 1 | 12-06-2016 10:37 AM |
Multiple found values from five sheets, multiple returned values in sheet six? | irisha | Excel Programming | 26 | 09-30-2016 01:20 AM |
get values from sheets | pero978 | Excel | 1 | 01-11-2016 11:37 PM |
Reference another workbook and return values from the same cell across multiple sheets/tabs | lwls | Excel Programming | 5 | 11-08-2014 02:11 PM |
compare, match and count cell contents between sheets | bobsone1 | Excel | 11 | 08-07-2014 10:34 PM |