Urgent Help

jjaidev

New Member
Joined
Jan 7, 2014
Messages
5
HI all,

Need the solution for the below query. Please do assume I have a table as below.

A10G
B100G
C10F

<tbody>
</tbody>

When ever a G is present in the values present in second column, I need the value of the number to be mutiplied by 1000. My output must be
A10G10000
B100G100000
C10F10F

<tbody>
</tbody>

What formula must I put in the third Column in order to get this result.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
HI all,

Need the solution for the below query. Please do assume I have a table as below.

A10G
B100G
C10F

<tbody>
</tbody>

When ever a G is present in the values present in second column, I need the value of the number to be mutiplied by 1000. My output must be
A10G10000
B100G100000
C10F10F

<tbody>
</tbody>

What formula must I put in the third Column in order to get this result.



Formula is:

=IF(RIGHT(B1,1)="G",LEFT(B1,(LEN(B1)-1))*1000,B1)
 
Upvote 0

Forum statistics

Threads
1,214,889
Messages
6,122,097
Members
449,065
Latest member
albertocarrillom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top