match dates

ehsas

Board Regular
Joined
Sep 17, 2002
Messages
200
Book1
ABCDE
1DAYSINCEA/COPENPAYMENDATEAMOUNT
21-Jan-023-Jan-02200
32-Jan-025-Jan-02500
43-Jan-026-Jan-02400
54-Jan-028-Jan-02300
65-Jan-029-Jan-02200
76-Jan-0211-Jan-02800
87-Jan-0213-Jan-02200
98-Jan-02
109-Jan-02
1110-Jan-02
1211-Jan-02
1312-Jan-02
1413-Jan-02
1514-Jan-02
Sheet1


Refer to above excel sheet i need to move the payment dates with amount to the column B infront of exact date of column a means 3 jan with amount of 200 has to come to b4.Please if anyone could help writing formula or macro.

Thanks
 
=IF(ISNA(SETV VLOOKUPA2,D$2:E$8,2,0))),0,GETV())

I am using above formula but it not formating the dates as date it giving as number can I format the date also sametime.Regards,
 
Upvote 0

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
On 2002-09-21 11:23, ehsas wrote:
=IF(ISNA(SETV VLOOKUPA2,D$2:E$8,2,0))),0,GETV())

I am using above formula but it not formating the dates as date it giving as number can I format the date also sametime.Regards,

Watch out: you're missing some parens there...

=IF(ISNA(SETV(VLOOKUP(A2,D$2:E$8,2,0))),0,GETV())

Custom format the formula cell as e.g.,

[>0]dd-mmm-yy

which is needed because of 0's the formula will also return.
 
Upvote 0
how to do that.Could you write the formula please.Regards,Also be noted that there is amount also which is not date.Regards,
 
Upvote 0
On 2002-09-21 11:52, ehsas wrote:
how to do that.Could you write the formula please.Regards,Also be noted that there is amount also which is not date.Regards,

What does the formula return besides 0's -- dates or amounts? It should not be amounts as well as dates within the same range.
 
Upvote 0

Forum statistics

Threads
1,214,411
Messages
6,119,360
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top