I'm not sure I COMPLETELY understand, but at least I can give it a start.
first: your description keeps saying "BD = ..."But your workbook has a column 
heading "DB", so I'm assuming one or the other is transposed.
also, .06% is .0006  do you really mean "B Value" * .06  (formula: =B2 * 
.06)or"B Value" * .06% (formula: =B2 * .06% is the same as =B2 * .0006)The 
difference for row 2 is 134274 or 1342.74

I think the easiest for you to read and follow would be a nested "if" statement:
in cell N2:=IF(AND(A2="NS",H2="C/F"),F2*0.06,
 IF(AND(A2="NS",C2="C/F"),K2*0.06,
 IF(AND(A2="NS",C2<>"C/F"),(F2+K2)*0.06,
IF(AND(A2="BNIST",H2="C/F"),F2*0.05,
 IF(AND(A2="BNIST",C2="C/F"),K2*0.05,
 IF(AND(A2="BNIST",C2<>"C/F"),(F2+K2)*0.05,
"other")))))) 
I'm not sure what you mean by:"FOR THE OTHER PERSONS IT TAKES OTHER CALCULATION 
AL WELL"
do you mean "AS WELL", meaning that other combinations have alternate 
calculations?
If so, you can add the appropriate alternatives to the above formula

BTW: in case you are unaware, Alt-Enter allows you to move part of the formula 
to the next line,allowing a long formula such as this to be easier to read!
hope this helps.
Paul-----------------------------------------
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
----------------------------------------- 

    On Monday, July 10, 2017 2:31 AM, Sanjib Chatterjee 
<chatterjee.kolk...@gmail.com> wrote:
 

 please help

---------- Forwarded message ----------
From: Sanjib Chatterjee <chatterjee.kolk...@gmail.com>
Date: Sat, Jul 8, 2017 at 1:22 PM
Subject: $$Excel-Macros$$ for multiple condition to calculate A SIMPLE RESULT
To: excel-macros <excel-macros@googlegroups.com>


Dear Sir / Madam,
Please see the attachment and 


Please help me how to solve the problem,
I want to calculate "BD"

if person says "NS"  IF SELL DATE " C/F" , BD = B Value * .06%if person says 
"NS"  IF Buy DATE " C/F" , BD = S Value * .06%
if person says "NS"  IF Buy DATE " not equal to C/F" , BD = (B Value + S value) 
* .06%

if person says "BNIST"  IF SELL DATE " C/F" , BD = B Value * .05%if person says 
"BNIS"  IF Buy DATE " C/F" , BD = S Value * .05%
if person says "BNIS"  IF Buy DATE " not equal to C/F" , BD = (B Value + S 
value) * .05%

FOR THE OTHER PERSONS IT TAKES OTHER CALCULATION AL WELL
I HOPE I MAKE YOU UNDERSTAND WHAT I WANT
PLEASE HELP ME

Thanking you in advance



Sanjib Chatterjee




-- 
--- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/ discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscribe@ googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/ group/excel-macros.
For more options, visit https://groups.google.com/d/ optout.



-- 
--- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


   

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to