#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default From Access to Excel

Good day to all.

After searching this and other forums, I am at a loss for how to transcribe
the following access formula to excel.


IIf([Gender]="Male","1",IIf([Gender]="Female","2",IIf([Gender]="Transgender","3",IIf([Gender]="Unknown/Unreported","9"))))

And assistance will be appreciated.

Glenn H.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default From Access to Excel

Maybe single quotes instead of double

"Glenn_H" wrote:

Good day to all.

After searching this and other forums, I am at a loss for how to transcribe
the following access formula to excel.


IIf([Gender]="Male","1",IIf([Gender]="Female","2",IIf([Gender]="Transgender","3",IIf([Gender]="Unknown/Unreported","9"))))

And assistance will be appreciated.

Glenn H.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default From Access to Excel

I should have mentioned that I tried the single quotes.

I will also mention that the "Gender" is found in cell D2.

Is there an Iif function in Excel?

"Mike" wrote:

Maybe single quotes instead of double

"Glenn_H" wrote:

Good day to all.

After searching this and other forums, I am at a loss for how to transcribe
the following access formula to excel.


IIf([Gender]="Male","1",IIf([Gender]="Female","2",IIf([Gender]="Transgender","3",IIf([Gender]="Unknown/Unreported","9"))))

And assistance will be appreciated.

Glenn H.

  #4   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default From Access to Excel

replace [Gender] with D2 and replace IIF with IF

"Glenn_H" wrote:

I should have mentioned that I tried the single quotes.

I will also mention that the "Gender" is found in cell D2.

Is there an Iif function in Excel?

"Mike" wrote:

Maybe single quotes instead of double

"Glenn_H" wrote:

Good day to all.

After searching this and other forums, I am at a loss for how to transcribe
the following access formula to excel.


IIf([Gender]="Male","1",IIf([Gender]="Female","2",IIf([Gender]="Transgender","3",IIf([Gender]="Unknown/Unreported","9"))))

And assistance will be appreciated.

Glenn H.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default From Access to Excel

That did the trick.

Thanks to all.

Glenn H.

"dlw" wrote:

replace [Gender] with D2 and replace IIF with IF

"Glenn_H" wrote:

I should have mentioned that I tried the single quotes.

I will also mention that the "Gender" is found in cell D2.

Is there an Iif function in Excel?

"Mike" wrote:

Maybe single quotes instead of double

"Glenn_H" wrote:

Good day to all.

After searching this and other forums, I am at a loss for how to transcribe
the following access formula to excel.


IIf([Gender]="Male","1",IIf([Gender]="Female","2",IIf([Gender]="Transgender","3",IIf([Gender]="Unknown/Unreported","9"))))

And assistance will be appreciated.

Glenn H.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Query from Access into Excel cause Access to go to read only T Stephens Excel Discussion (Misc queries) 0 March 24th 09 04:17 PM
Can Excel access data from Access?! Al Excel Discussion (Misc queries) 5 April 5th 08 03:52 PM
Macro to check data from excel list against access query and return value back to excel dreamkeeper Excel Worksheet Functions 0 October 31st 07 07:26 PM
Access Form In An Access Report (SubForm) Question Gary Links and Linking in Excel 0 January 27th 06 05:54 AM
export access to excel. change access & update excel at same time fastcar Excel Discussion (Misc queries) 0 June 24th 05 09:27 PM


All times are GMT +1. The time now is 02:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"