Hello!
It's there a formula to get the result from one cell "D2" "5x60" and then get the result on "C2" = 300...
Thanks!!
Hello!
It's there a formula to get the result from one cell "D2" "5x60" and then get the result on "C2" = 300...
Thanks!!
VLookup
or
Index / match
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
Hi,
One way
Formula:![]()
Please Login or Register to view this content.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
Hi,
Richard,
Your formula gives me a "#VALUE!" error..
As far as I know, that can only be done consistently by adding a new function to your workbook, a User-Defined-Function (UDF). Here's one that works:
![]()
Please Login or Register to view this content.
How to install the User Defined Function:
1. Open up your workbook
2. Get into VB Editor (Press Alt+F11)
3. Insert a new module (Insert > Module)
4. Copy and Paste in your code (given above)
5. Get out of VBA (Press Alt+Q)
6. Save as a macro-enabled workbook
The function is installed and ready to use.
http://screencast.com/t/g2CdWdgNQit
Now, you use it like any other function. If your text string is in D2, the new function in C2 would simply be:
=RESOLVE(D2)
Here's a workbook with the function installed and several samples.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Hi,
Does D2 contain
5x60
or
"5x60"
If the former then upload your workbook so that we can see the request in context.
See post #5 for a solution that should work for any basic math text string.
Hi,
JBeacaire,
The cell D2 is 5x60, and when im trying your function method on my workbook i get the "can't find your project or library",
but when i use your workbook it works fine, now im coufused..
If you post your workbook with the UDF installed, I can check your work.
here's the file
If you put your code in a module instead of the sheet it will work.
See the attached file.
oeldere,
it's working good!
Preciate your help.... Thanks!!!
Richard,
Thanks, your formula it's working too..
Now i have to decide wich one it's the best for my workbook..
@werko
You got to thank JBeaucaire for the code.
I just added it in your workbook.
The UDF is a more robust one, so I would take that solution.
Although the solution of Richard Buttrey is also great (of course).
(hat tip to all)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks