LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default Too much nesting in if statement

This is a plain EXCEL question, no VBA solutions please!

I want to say, if cell1 value= cell 2 value, then set a certain cell equal
to cell2Avlaue
If not, then if it's equal to cell 3 value, then set this certain cell equal
to cell3Avlaue,
etc.

Since the cell I'm testing is always the same cell, is there a way to do
this without a big multi-nested if statement?

I'm afraid that the # of characters will be too long, since there are many
possibilities. Also, it seems embarrassingly inelegant to my user, even if
not. In case it matters, each value is distinct, so it can only equal one
or the other.

I think I could do this with lookup functions somehow, but don't like that
complexity either, as there will be thousands of them since I will repeat
this equation many times.

Thanks!
Dean


 
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
Nesting IF Statement in excel 2007 Mezani Excel Worksheet Functions 2 May 12th 10 11:08 AM
If Statement Nesting? ThunderBlade Excel Discussion (Misc queries) 4 March 30th 10 10:46 PM
Nesting IF/OR Statement Wendy Excel Worksheet Functions 14 November 7th 08 04:26 AM
Another Nesting IF Statement Problem bigwilly11189 Excel Worksheet Functions 3 September 12th 05 02:05 AM
Nesting If Statement with "AND", "OR" conditions Jenna Excel Worksheet Functions 3 October 30th 04 07:46 PM


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

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

About Us

"It's about Microsoft Excel"