Hello,
So würde ich es ausdrücken... nun kommts aber... wie setzt man sowas in EXCEL oder VB um? Kann man dort auch anders bedingungen erstellen ohne gleich wieder zu Scripten (ich habe keine Ahnung von den zusammhang mit VB und Excel)..
ja, VBA ist an dieser Stelle vollkommen unnötig.
Je nach deutscher oder englischer Version suchst du die Funktion IF oder WENN. Die Syntax ist in beiden Fällen
(<Bedingung>;<dann>;<sonst>)
Schematisch also
=WENN(A1 >= 50;A1*A2*6;A1*A2)
MfG
Rouven
--
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
We found ourselves looking upon a familiar sight. We were home. How do you pick up the threads of an old life? How do you go on... when in your heart you begin to understand... there is no going back? There are somethings that time cannot mend... some hurts that go too deep... that have taken hold. -- The Lord of the Rings: The Return of the King (Peter Jackson)
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
We found ourselves looking upon a familiar sight. We were home. How do you pick up the threads of an old life? How do you go on... when in your heart you begin to understand... there is no going back? There are somethings that time cannot mend... some hurts that go too deep... that have taken hold. -- The Lord of the Rings: The Return of the King (Peter Jackson)