Return cell values as date

aligahk06

Active Member
Joined
Apr 26, 2009
Messages
257
Dear All,


I want a formula in excel for following problems.
I want to match values available in colH 001,014,015,GH1 and return a random date in between date (eg 7/7/2018,14/7/2018,21/07/2018,29/07/2018) in a cell column if match value found else nothing.


Any Assistance.

Rgds,
aligahk06
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Try this:

A
B
C
D
1
00114/7/2018001
2
002014
3
003015
4
004GH1
5
GH129/07/2018
6
006
7
007
8
008
9
009
10
010
11
011
12
GH121/07/2018
13
013
14
01421/07/2018
15
01514/7/2018
Sheet: Sheet25

Formula in cell B1:
=IF(OR(INDEX(A1=$D$1:$D$4,)),INDEX({"7/7/2018","14/7/2018","21/07/2018","29/07/2018"},RANDBETWEEN(1,4)),"")
 
Upvote 0

Forum statistics

Threads
1,214,415
Messages
6,119,381
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