Help with Formula OR VBA code

Jagat Pavasia

Active Member
Joined
Mar 9, 2015
Messages
359
Office Version
  1. 2021
Platform
  1. Windows
dear sir,

I have Main amount figure in my A6 and want to less B6 & C6, and then answer in D6.

but my B6 and C6 have some suffix in (), so please help me.
I attached photo, please find it.


I want answer in D6 which is yellow highlighted in Imag
1.JPG



in example my answer is 714.35
 
Hi, just another option..

Book1
ABCD
5Main AmountLess 1Less 2Answer
680025.01 (D-255)60.64 (N-23)714.35
780025.0160.64 (N-23)714.35
880025.01 (D-255)60.64714.35
980025.0160.64714.35
10800800
1125.01 (D-255)60.64-85.65
120
Sheet1
Cell Formulas
RangeFormula
D6:D12D6=A6-LEFT(B6&"0",FIND(" ",B6&" "))-LEFT(C6&"0",FIND(" ",C6&" "))
IT IS NOT LESS AMOUNT PERFECT,
IFMY MAIN AMOUNT IS 25 AND I LESS 1.00 THEN RESULT SHOWN ME 15.
ACTUAL IS 24
 
Upvote 0

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi, just another option..

Book1
ABCD
5Main AmountLess 1Less 2Answer
680025.01 (D-255)60.64 (N-23)714.35
780025.0160.64 (N-23)714.35
880025.01 (D-255)60.64714.35
980025.0160.64714.35
10800800
1125.01 (D-255)60.64-85.65
120
Sheet1
Cell Formulas
RangeFormula
D6:D12D6=A6-LEFT(B6&"0",FIND(" ",B6&" "))-LEFT(C6&"0",FIND(" ",C6&" "))
IT IS NOT WORKING

IF A HAS 25.00 AND B HAVE 1.00 THEN ANSWER SHOWN 15.00 INSTEAD OF 24.00
 
Upvote 0

Forum statistics

Threads
1,215,368
Messages
6,124,520
Members
449,169
Latest member
mm424

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