#1   Report Post  
PW11111
 
Posts: n/a
Default Multiple Values


Hi

I a drop down box with the following values that the user can selet

1-4
5-8
9-12

In the next column I have a formula that converts the above into a number -
so it can be used in a formula.

=IF(H5= "1-4",4)

How do I add to the above formula a condition that says if "5-8" is entered
in H5 then the cell = 8 and if "9-12" is entered the cell = 12.

I know how to right individual bits - but not combine them together.

I hope this makes sense.

Cheers,

Phil

  #2   Report Post  
aristotle
 
Posts: n/a
Default

Hi,

This displays the final segment using "-" as the delimiter. Hope this is
what you're looking for.

=VALUE(RIGHT(A1,LEN(A1)-FIND("-",A1,1)))

Regards,
A
--
We are what we repeatedly do. Excellence, therefore, is not an act, but a
habit.


"PW11111" wrote:


Hi

I a drop down box with the following values that the user can selet

1-4
5-8
9-12

In the next column I have a formula that converts the above into a number -
so it can be used in a formula.

=IF(H5= "1-4",4)

How do I add to the above formula a condition that says if "5-8" is entered
in H5 then the cell = 8 and if "9-12" is entered the cell = 12.

I know how to right individual bits - but not combine them together.

I hope this makes sense.

Cheers,

Phil

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
Is there way to enter multiple values into excel cells w/ a form? grassfed Excel Discussion (Misc queries) 1 June 22nd 05 05:26 PM
Can you paste values on multiple worksheets at one time? JanetK Excel Worksheet Functions 1 June 12th 05 04:51 PM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM
How to sum values in multiple worksheets Robert Lawrence Excel Worksheet Functions 3 January 29th 05 05:15 AM
Multiple X-Axis Values Rob Herrmann Charts and Charting in Excel 2 January 23rd 05 10:57 PM


All times are GMT +1. The time now is 02:45 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"