Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ok, I have three cells. In the first one (A2) there is an item and dollar amount:
XXXXXXXXXXXXXX ($10.00) In the second (B2) is a number: 1 The third (C2) is set up to populate if cell 2 has a number one in it with the following formula: =IF(LEFT(B2)="1",(IF(Left(A2,29)="XXXXXXXXX","XXXX XXXXX","")),"") This way it will see that there are ten Xs and then anything else and populate ten Xs in the cell. I need the formula of a vb code that will populate cell three (C2) with the information in cell one (A2) minus the last nine characters (" (10.00)"). TIA -Chris |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting LF Characters in cells | Excel Worksheet Functions | |||
Deleting Characters | Excel Discussion (Misc queries) | |||
Deleting characters that are not numbers | Excel Discussion (Misc queries) | |||
limiting or deleting extra characters in a cell | Excel Discussion (Misc queries) | |||
Deleting Blank Characters in a Cell | Excel Discussion (Misc queries) |