Concatenate cell with values retained in cells

1. Concatenate cell with values retained in cells

I have the following reference table, that i would like to make it as a drop down list that shows like below. When i utilize this drop down list, the cell that is selected should carry the value of 10, or 20, or 30. That way on another cell i can do some mathematical multiplication. Is this possible?

Reference Table
 Model Power (Amps) A 10 B 20 C 30 D 40 E 50

Drop Down List that is in Sheet2
A-10 A
B-20 A
C-30 A
D-40 A
E-50 A

Sheet2
 Amps (Drop Down List) Voltage Power A-10A 480 4500 B- 20A 480 9600 C-30A 480 14400 D-40A 480 19200 E-50A 480 24000

2. Re: Concatenate cell with values retained in cells

AmazingTrans, Good afternoon.

If you really need to use your DropDown List as showed, try to use:

C1 --> The Result --> =B1 * (--MID(A1,3,2))

Please, tell us if it worked for you.

I hope it helps.

3. Re: Concatenate cell with values retained in cells

Mazz,

I tried that and it did not.
C1 --> The Result --> =B1 * (--MID(A1,3,2)) ==> -480
C1 --> The Result --> =B1 * (MID(A1,3,2))==> -480
C1 --> The Result --> =B1 * (MID(A1,4,1))==> 480

4. Re: Concatenate cell with values retained in cells

AmazingTrans, Good evening.

Are you sure that your Amps is EXACTLY as you showed at message: A-10A

This can make all the difference in how the formula works.

I'm sure that the formula I gave to you works well.

5. Re: Concatenate cell with values retained in cells

As a rule of thumb, it's a bad idea to have your cell display one thing and contain something different; it's very hard to maintain.

Can you split it into two cells? Set the model as the dropdown, then grab the amperage with a lookup, and run your equations off your lookup values?

6. Re: Concatenate cell with values retained in cells

Mazz,

I tested it again, with the exact data it works. I guess, i have to be more specific with my testing.
The first part where it is A,b,c,d,e; instead of that i have all kind of model numbers with different lengths.
But, there is one common thing here which is the number is always after the dash, and also ignore the last A part.

HTC A-10A 480 4800
Iphone B-20A 480 9600
Android C-30A 480 14400
Samsung D-40A 480 19200
Apple E-150A 480 24000

I guess i can try to split the form into 2 cells, if i do that, is it possible to include unit into a cell, and do the math instead, or the unit also needs to be in another cell?

7. Re: Concatenate cell with values retained in cells

AmazingTrans, Good afternoon.

I'm sorry, I'm looking forward to helping you, but with each message I'm getting even more confused by your real need.

Show us what you have of data and what you really need to get as a result.

Give us a concrete example.

8. Re: Concatenate cell with values retained in cells

Sorry for the difficult explanation. As I was trying to get it to work, I figured a better way to do this, but it still does not work. At least I can show it by pictures.
On the power field, I tried utilizing Vlookup to search for the text. Somehow, i can't get it to work for the other rows still.

lIqKuav.png

9. Re: Concatenate cell with values retained in cells

Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

2. Make sure that your desired results are also shown (mock up the results manually).

3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

4. Try to avoid using merged cells as they cause lots of problems.

Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.

10. Re: Concatenate cell with values retained in cells

AmazingTrans, Good evening.

The suggestion of our gentle moderator is always ideal.
Greetings from Brazil AliGW !

In the meantime, try using this formula:

C2 -->
``Please Login or Register  to view this content.``
OR
``Please Login or Register  to view this content.``
Is that what you want?

I hope it helps.

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1