Hi,
In A2:A1000 in Sheet1 I have series of consecutive month-end dates (31/07/2012, 31/08/2012 etc).
In A2:A700 in Sheet2 I have a series of consecutive month-end dates and in B2:B700 the associated monthly sales values.
In A2:A700 in Sheet3 I have a series of consecutive month-end dates and in B2:B700 the associated monthly sales values. There is some overlap
in the dates between Sheet2 and Sheet3.
In B2 in Sheet1 I would like to create a formula that will return the sales value for the date in A2, based on a lookup that considers the data
in Sheets2 and 3:
1. If the date A2 is in A2:A700 in Sheet2 and the associated value in B2:B700 is not a blank cell nor a zero, return the value from B2:B700
in Sheet2.
2. If these conditions aren't met, switch the lookup to Sheet3 and return the value from B2:B700; if the date in A2 isn't in A2:A700 in Sheet3
the return "".
Can someone please suggest a formula that will achieve this?
Hope that this makes sense!
Thanks!
In A2:A1000 in Sheet1 I have series of consecutive month-end dates (31/07/2012, 31/08/2012 etc).
In A2:A700 in Sheet2 I have a series of consecutive month-end dates and in B2:B700 the associated monthly sales values.
In A2:A700 in Sheet3 I have a series of consecutive month-end dates and in B2:B700 the associated monthly sales values. There is some overlap
in the dates between Sheet2 and Sheet3.
In B2 in Sheet1 I would like to create a formula that will return the sales value for the date in A2, based on a lookup that considers the data
in Sheets2 and 3:
1. If the date A2 is in A2:A700 in Sheet2 and the associated value in B2:B700 is not a blank cell nor a zero, return the value from B2:B700
in Sheet2.
2. If these conditions aren't met, switch the lookup to Sheet3 and return the value from B2:B700; if the date in A2 isn't in A2:A700 in Sheet3
the return "".
Can someone please suggest a formula that will achieve this?
Hope that this makes sense!
Thanks!