Selecting date based on column

MN_Excel

Board Regular
Joined
Nov 8, 2010
Messages
153
I have a spreadsheet in which I need to report the deposit date for transactions. However, the spreadsheet has separate columns to enter deposits dates. For example, cc deposit dates are entered in column A, check deposit dates are in column B, and EFT deposit dates in column C. For the purpose of my project, the type of deposit is irrelevant and I only need to report when the deposit was made. Any ideas on how to insert a column and have it bring in whatever date is in either column A, B, OR, C So, if there was a CC deposit date of 6/5/19, and the other two columns were blank, I want to bring in 6/5/19 in the newly created column? I'm not sure if I explained this well, but any help would be appreciated.

Thanks
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
like this?

Book1
ABCD
1ccchkeftdate
25/05/201905/05/19
320/05/201920/05/19
42/06/201902/06/19
Sheet39
Cell Formulas
RangeFormula
D2=TEXT(A2&B2&C2,"dd/mm/yy")
D3=TEXT(A3&B3&C3,"dd/mm/yy")
D4=TEXT(A4&B4&C4,"dd/mm/yy")


this wont work if theres a line with 2 payments types
 
Upvote 0
using the MIN formula might be easier, plus it accounts for instances where there might be two dates in the same row, taking the earliest date


Book1
ABCD
1ccchkeftdate
25/05/201910/06/20195/05/2019
320/05/201920/05/2019
42/06/20192/06/2019
Sheet39
Cell Formulas
RangeFormula
D2=MIN(A2:C2)
D3=MIN(A3:C3)
D4=MIN(A4:C4)
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,264
Members
452,627
Latest member
KitkatToby

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