0
   

Question on number comparison

 
 
Reply Wed 30 Apr, 2003 03:50 pm
I have a table that contains a row with many numbers. I want to look at each individual cell in that column and compare its value to a range of values. If the value in the cell matches the range, I want to add a percentage to the number and store the result in another cell of another column. If the value in the cell does not match the range, I don't want to do anything.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 0 • Views: 964 • Replies: 3
No top replies

 
jespah
 
  1  
Reply Wed 30 Apr, 2003 04:29 pm
Are you trying to do this in a program such as Excel?
0 Replies
 
roger
 
  1  
Reply Wed 30 Apr, 2003 04:32 pm
It is. I gave it my feeble best shot under the "Excel question" heading, by the same creator. Maybe you can improve on it. I haven't used the =if functions extensively since lotus r2.1 was the hot tip
0 Replies
 
jespah
 
  1  
Reply Wed 30 Apr, 2003 04:37 pm
Ah, yes, I saw that.

This seems to be an if/then type of question. E. g. if the # in the cel matches the range, then ___. If the # in the cel doesn't match the range, then __(other thing).

Try this:

=IF(C1=A1:A5,C1+0.05)

This puts the cel where you want the operation to occur in the C column, and the test range in the A column (A1 through A5). The 0.05 is just something to add; you'd change that to whatever % you want. It returns the word "False" if the condition isn't met. Just tried it in Excel 95 and it works.
0 Replies
 
 

Related Topics

Clone of Micosoft Office - Question by Advocate
Do You Turn Off Your Computer at Night? - Discussion by Phoenix32890
The "Death" of the Computer Mouse - Discussion by Phoenix32890
Windows 10... - Discussion by Region Philbis
Surface Pro 3: What do you think? - Question by neologist
Windows 8 tips thread - Discussion by Wilso
GOOGLE CHROME - Question by Setanta
.Net and Firefox... - Discussion by gungasnake
Hacking a computer and remote access - Discussion by trying2learn
 
  1. Forums
  2. » Question on number comparison
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 05/06/2024 at 01:16:41