?
Solved

How would I fill an xlsx column according to the body of this post?

Posted on 2013-11-26
10
Medium Priority
?
192 Views
Last Modified: 2013-11-26
I have a large excel spreadsheet with a column I that contains  three different entrees -
S-1_labs, PRN and Li_labs.   In column J  would like  57 when column I = S-1_Labs, 86 when column I = PRN  and 60 when column I = Li_labs. What equation can I use to avoid entering these numbers into column I manually?
Thanks
0
Comment
Question by:PDSWSS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39677863
Couple of options, as its only 3 values the simplest would be a nested IF statement.

In column J, assume starting row 2, the following formula:

=IF(I2="S-1_labs",57,IF(I2="PRN",86,60))

For a larger set of variables I would create a lookup table.

Thanks
Rob H
0
 

Author Comment

by:PDSWSS
ID: 39677958
I should have mentioned that there are also blank cells where neither of the three values
are entered.  Your equation will enter "FALSE" in these fields.
Would you be able to send me an equation that will address this 4th possibility?
Thanks
0
 

Author Comment

by:PDSWSS
ID: 39677998
Second equation to delete all False cells?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 33

Accepted Solution

by:
Rob Henson earned 2000 total points
ID: 39678007
=IF(I2="S-1_labs",57,IF(I2="PRN",86,IF(I2="Li_Labs",60))
0
 
LVL 33

Assisted Solution

by:Rob Henson
Rob Henson earned 2000 total points
ID: 39678014
Apply autofilter to data and select "FALSE" in column J.

Deleting rows will only delete those visible.

Thanks
Rob H
0
 

Author Comment

by:PDSWSS
ID: 39678079
Filtering in this situation not optimal.
Would be better to use an equation,  where  cell = false in column J then delete "False"
0
 

Author Comment

by:PDSWSS
ID: 39678088
Thank you very much for the solution.  FYI should be   )))   at the end not  ))
0
 

Author Closing Comment

by:PDSWSS
ID: 39678093
Thanks again.
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39678121
Formula can't be used to generate delete but could change to blank rather than false. Put ,"" before closing brackets.
0
 

Author Comment

by:PDSWSS
ID: 39678132
Thanks again.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question