Excel cannot read user input through drop-down list as a Hijri date!

SA_Banker

New Member
Joined
Dec 8, 2013
Messages
7
Respected Members,

First of all, I want to thank everyone contributed to this forum. So much I learned for you!

Hope you can help me on below issue

I searched on the net and here in the forum and found several suggested solutions. Yet, none of it worked for me!

When I use function today() and format it as a hijri date (Saudi Arabia), it converts the date from Gregorian to Hijri successfully.

An issue showed up when I created 3 drop-down lists which are Year, Month and Day. The 3 lists read from sources I created. When a user picks from the 3 lists a date, a cell linked to the output gets updated. The problem is that Excel cannot recognize that the date in linked cell is Hijri and convert it into its corresponding Gregorian date. it gets me totally wrong date. I tried Several suggested solutions such as preceding the assumed date with b1 or a but no success.

Pick Date</SPAN>
1433</SPAN>
02</SPAN>
05</SPAN>
Today</SPAN>
1435-02-05</SPAN>
Output</SPAN>
29/09/2794</SPAN>

<TBODY>
</TBODY>


Output=TEXT(DATE(E2,F2,G2),"b2dd/mm/yyyy")

Where E2,F2 and G2 are the Picked date (user chosen from predefined lists)



Successfully doing that, I then convert it to Gregorian and do some calculations.

I just need Excel to accept Hijri Date as an input. For your reference, I attached a file

Excel 2010 - Windows 7 Professional

Thank you in advance!
</SPAN>
 
I will try it now. The file will be distributed by email. Do the users have to do the same thing if they ever had to?
 
Upvote 0

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
I mean change the registry. Do the users have to do it if they faced same problem?
or it will be fine if i changed the registry as instructed before distribution?
 
Upvote 0
The formula will work only if the user can enter a Hijri date by preceding it with the letter a. That may involve changing the registry.
 
Upvote 0

Forum statistics

Threads
1,216,040
Messages
6,128,454
Members
449,455
Latest member
jesski

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