![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 6
|
I think I can do this with a lookup function, but I need help to find the simplest way. I've got two columns of uncorrected data featuring elapsed time and a corresponding value. I need to compare the value to a standard deviation, and if the value is less than the sd, enter the elapsed time and value in two adjacent columns as corrected data. Is there an easy way to do this?
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2002
Posts: 38
|
Is the SD just one value that is in a cell somewhere, or is this a value that must be looked up from a list of several values? If it's just 1 single value, then all you need is an IF formula.
|
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
In C2 enter: =IF(LEN(D2),A2,"") In D2 enter: =IF(B2 |
|
|
|
|
|
|
#4 |
|
New Member
Join Date: Feb 2002
Posts: 6
|
The SD is one value, so I tried using an IF function. The problem is, the current worksheet allows for 25 data points. That's too many for a nested IF statement. But you have the idea. What I want to do is compare the value in row 1 to the SD. If it's less, then enter that value in row 1. If it's more, then compare the value in row 2 to the SD. If it's less, enter the value in row 1. The point is to extract the qualifying data from one column and transfer it to another column without any blank cells.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|