Sep 22, 2023

Excel formula not working in google sheets.

I use below formula in excel but does not work in sheets.  any suggestions?

=TEXT(WEEKDAY(DATE($AG$1,11,B3),1),"aaa")

this is referencing cell ag1 for the year and then populating day of week based on day number in b3 and month"11".   only displays "aaa" in google sheet with this formula. 
Locked
Informational notification.
This question is locked and replying has been disabled.
Community content may not be verified or up-to-date. Learn more.
Recommended Answer
Sep 22, 2023
Hi, Brian Gleich,

I don't use Microssoft Excel so I can't speak for it.

Google Sheets and Microsoft Excel are developed by two different companies so there are going to be differences.

There are cases where functions will work directly and other cases where they won't.

Only users experienced in both platforms will know what the differences are and know how to deal with them.

At a guess, it might be that "aaa" in Excell means avriviation.

In Google Sheets "ddd" means short day name and "dddd" means long day name.

Ben Liebrand

When you've received a response that answers your question, please observe these forum courtesies;
 • Leave your demo sheet shared as part of this solution's archive,
 • Click Recommend on the post that best addressed your question, and
 • Post again soon!



Original Poster Brian Gleich marked this as an answer
Helpful?
Recommended Answer
Sep 22, 2023
Hi, Brian Gleich,


Is this what you are trying to do

=TEXT(WEEKDAY(DATE($AG$1,11,B3),1),"ddd")


If not, please share an example mockup spreadsheet so we have a better idea what you are trying to do.

Ben Liebrand
Original Poster Brian Gleich marked this as an answer
Helpful?
All Replies
Recommended Answer
Sep 22, 2023
Hi, Brian Gleich,


Is this what you are trying to do

=TEXT(WEEKDAY(DATE($AG$1,11,B3),1),"ddd")


If not, please share an example mockup spreadsheet so we have a better idea what you are trying to do.

Ben Liebrand
Original Poster Brian Gleich marked this as an answer
Sep 22, 2023
Yes, strange in excel i will use "aaa" and it outputs the days of week but in sheet is displays "aaa".  Switching to "ddd" fixes the issues in sheets.   Thanks!
Recommended Answer
Sep 22, 2023
Hi, Brian Gleich,

I don't use Microssoft Excel so I can't speak for it.

Google Sheets and Microsoft Excel are developed by two different companies so there are going to be differences.

There are cases where functions will work directly and other cases where they won't.

Only users experienced in both platforms will know what the differences are and know how to deal with them.

At a guess, it might be that "aaa" in Excell means avriviation.

In Google Sheets "ddd" means short day name and "dddd" means long day name.

Ben Liebrand

When you've received a response that answers your question, please observe these forum courtesies;
 • Leave your demo sheet shared as part of this solution's archive,
 • Click Recommend on the post that best addressed your question, and
 • Post again soon!



Original Poster Brian Gleich marked this as an answer
Sep 22, 2023
Hi, Brian Gleich,

It is always a good idea to check the documentation for functions on each platform so you can be aware of the differences if any.

Ben Liebrand


false
4945525758266509256
true
Search Help Center
true
true
true
true
true
35
false
false
Search
Clear search
Close search
Main menu