Here is the formula I want to write:
If sheet1 D4 is yes, then in sheet 2 row 3 referance sheet 1 cells E4;A4;B4:C4, If no do nothing
Here is the formula I want to write:
If sheet1 D4 is yes, then in sheet 2 row 3 referance sheet 1 cells E4;A4;B4:C4, If no do nothing
Not sure how clear your question is, but perhaps
=IF('Sheet1'!$D4="Yes",'Sheet1'!E4,"")
=IF('Sheet1'!$D4="Yes",'Sheet1'!A4,"") copied acoss 2 more cells.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
First of all I made a mistake, it should be "if no". What I am trying to do is to have excel make a list on sheet2 of the invoices on sheet1 that are marked "no" for not paid.
Sheet1 contains invoices. Sheet2 will be my outstanding account list.
Sheet1 is set -up as follows:
A4 Date B4 Invoice# C4Amount D4 Paid-Y/N E4 Customer Name.
On Sheet2 which will be a list of oustanding Invoices.
So, on Sheet2 A3 I need a formula that will produce Customer Name; Date; Invoice#, and Amount, if Sheet1 D4 is "no".
I need a formula on Sheet2 A3 that sais If Sheet1 D4 is "no" then Referance Sheet1 E4,A4,B4,C4.
In other words list all customers with their relative information that are marked no for not paid on sheet1 columD.
Perhaps there is a better way? I just want a liston Sheet2 that contains the Customer Names; Dates; Invoice #'s, and amounts, of the invoices on Sheet1 that are marked "no" in colum D
Last edited by jpeirano; 03-10-2011 at 08:27 PM.
Your explanation leads, me anyways, to believe that you are only concerned with row 4.. which apparently you are not, it seems...
So, first off let's add a helper column to your Sheet1.
In a free column, say column F, enter in F2 (assuming the list starts at row 2), =IF(D2="no",COUNT(D$1:D1)+1,"") and copy down. This identifies sequentially the matches found
In another column enter formula =MAX(F:F) to get the last number.
Then in Sheet2, A3 enter formula:
=IF(Rows($A$1:$A1)>'Sheet1'!$G$2,"",INDEX('Sheet1'!E:E,MATCH(ROWS($A$1:$A1),'
Sheet1'!$F:$F)))
wher Sheet1!G2 contains the MAX() formula...
Then copy this formula down.
You similar formula in next column indexing Sheet!A:A, then copy across 2 more columns and down to get the A, B, C column information.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks