Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default why If, THEN does not work

Hello:

I'm trying to get a very simple nested IF, THEN statement to work. But,
instead of returning a value, it returns "FALSE". I really don't get it.
Below is my formula. Please help!!!

=IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI", "20",
IF($K2="F", "60")))))

childofthe1980s
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default why If, THEN does not work

<IF($K2="F", "60")))))

And what if $K2 not equals "F"?

Your formula is not complete

--
Kind regards,

Niek Otten


"childothe1980s" wrote in message
...
Hello:

I'm trying to get a very simple nested IF, THEN statement to work. But,
instead of returning a value, it returns "FALSE". I really don't get it.
Below is my formula. Please help!!!

=IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI", "20",
IF($K2="F", "60")))))

childofthe1980s



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default why If, THEN does not work


works for me, what are you finding it does for you??


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=519029

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default why If, THEN does not work


=IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI",
"20",IF($K2="F", "60","")))))
you were missing the last 2 quotes at the end of the formula


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=519029

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default why If, THEN does not work

I really don't know what you mean. Could you please explain?

childofthe1980s

"Niek Otten" wrote:

<IF($K2="F", "60")))))

And what if $K2 not equals "F"?

Your formula is not complete

--
Kind regards,

Niek Otten


"childothe1980s" wrote in message
...
Hello:

I'm trying to get a very simple nested IF, THEN statement to work. But,
instead of returning a value, it returns "FALSE". I really don't get it.
Below is my formula. Please help!!!

=IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI", "20",
IF($K2="F", "60")))))

childofthe1980s






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default why If, THEN does not work

=IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI", "20",
IF($K2="F", "60","you need to do something here when all else fails)))))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"childothe1980s" wrote in message
...
I really don't know what you mean. Could you please explain?

childofthe1980s

"Niek Otten" wrote:

<IF($K2="F", "60")))))

And what if $K2 not equals "F"?

Your formula is not complete

--
Kind regards,

Niek Otten


"childothe1980s" wrote in

message
...
Hello:

I'm trying to get a very simple nested IF, THEN statement to work.

But,
instead of returning a value, it returns "FALSE". I really don't get

it.
Below is my formula. Please help!!!

=IF($K2="HW","70", IF($K2="SW","75", IF($K2="A","01", IF($K2="LI",

"20",
IF($K2="F", "60")))))

childofthe1980s






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
Macro to update a column in a work based on another work sheet WickerMan New Users to Excel 1 December 4th 09 12:58 PM
how can i automatically generate work order numbers from work orde rob h Excel Discussion (Misc queries) 1 July 13th 09 07:59 PM
flash object dont work in my excel work sheet Nitn Excel Discussion (Misc queries) 0 July 4th 09 08:00 AM
Counting dates in multiple work sheets and work books Savage Excel Discussion (Misc queries) 0 December 19th 05 11:41 PM
Is there away to keep "auto save" from jumping to the first work sheet in the work book? Marc New Users to Excel 2 April 21st 05 01:27 AM


All times are GMT +1. The time now is 03:20 PM.

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"