gultekinkaymaz
Yeni Üye
- Katılım
- 7 Şub 2022
- Mesajlar
- 124
- Aldığı beğeni
- 17
- Excel V
- Office 2016 TR
Konu Sahibi
If Format(CDbl(TextBox14.Value), "#,##0.00") < Format(CDbl(TextBox34.Value), "#,##0.00") And Format(CDbl(TextBox33.Value), "#,##0.00") < Format(CDbl(TextBox34.Value), "#,##0.00") Then
TextBox27.Value = Format(CDbl(TextBox13.Value) * (CDbl(TextBox39.Value) / 100), "#,##0.00")
ElseIf Format(CDbl(TextBox14.Value), "#,##0.00") < Format(CDbl(TextBox34.Value), "#,##0.00") And Format(CDbl(TextBox33.Value), "#,##0.00") > Format(CDbl(TextBox34.Value), "#,##0.00") And Format(CDbl(TextBox33.Value), "#,##0.00") < Format(CDbl(TextBox35.Value), "#,##0.00") Then
TextBox27.Value = Format(((CDbl(TextBox34.Value) - CDbl(TextBox14.Value)) * (CDbl(TextBox39.Value) / 100)) + ((CDbl(TextBox33.Value) - CDbl(TextBox34.Value)) * (CDbl(TextBox40.Value) / 100)), "#,##0.00")
Yukarıdaki formülde ilk şart sağlanıyorsa hesaplamayı yapıyor fakat ikinci şart için işlem yapmıyor hata veriyor nerede hata yapıyorum?
TextBox27.Value = Format(CDbl(TextBox13.Value) * (CDbl(TextBox39.Value) / 100), "#,##0.00")
ElseIf Format(CDbl(TextBox14.Value), "#,##0.00") < Format(CDbl(TextBox34.Value), "#,##0.00") And Format(CDbl(TextBox33.Value), "#,##0.00") > Format(CDbl(TextBox34.Value), "#,##0.00") And Format(CDbl(TextBox33.Value), "#,##0.00") < Format(CDbl(TextBox35.Value), "#,##0.00") Then
TextBox27.Value = Format(((CDbl(TextBox34.Value) - CDbl(TextBox14.Value)) * (CDbl(TextBox39.Value) / 100)) + ((CDbl(TextBox33.Value) - CDbl(TextBox34.Value)) * (CDbl(TextBox40.Value) / 100)), "#,##0.00")
Yukarıdaki formülde ilk şart sağlanıyorsa hesaplamayı yapıyor fakat ikinci şart için işlem yapmıyor hata veriyor nerede hata yapıyorum?