Hi,
i want to create formula for column C, when the x in column A {"EUR":"x"} take the value of column B
Hi,
i want to create formula for column C, when the x in column A {"EUR":"x"} take the value of column B
Last edited by AliGW; 04-19-2020 at 09:14 AM.
here are various ways...
=IF(LEFT(RIGHT(A1,3),1)="x",B1,"")
or
=IF(MID(A1,9,1)="x",B1,"")
or
=IF(ISNUMBER(SEARCH("x",A1))=TRUE,B1,"")
The first two depend on the format being pretty much the same, the left/right depends on the x always being in three spaces from the right end.
The mid needs the length to be the same as the format you showed in your workbook.
The last, isnumber/search will work if the format varies.
Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
Sam Capricci
Administrative Note:
Welcome to the forum.
We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.
Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).
Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.
(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Hi,
what i need is to create a formula that replace the variable X in column A with the value in column B and give the result like column C,
Attached a example,
best regards
Thanks for the title update. You did it in the wrong post, though, so I've updated the opening post for you.
Please see post #2 where a solution is offered.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Hi appreciate your reply, maybe in the first post didn't explain well what i needed so i attached a new excel file to explain better what i need.
in the column C i need a result when the variable X in Cell A1 take the value of the Cell B1,
i hope you can help me
best regards
Maybe this, then?
=SUBSTITUTE(A1,"x",B1)
You save me
thank you
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks