If Then Statements

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Need help. Need to turn the following into a formula within Excel.

If B19>45 then A19
If B19>=45 but <100 then B19*A20
If B19>=100 but <300 then B19*A21

Thanks,
 
Hi
try
=IF(B19>=100,IF(B19<300,B19*A21,"not defined"),IF(B19>=45,B19*A20,A19))

I assumed that your first condition should read B19<45
 
Hi, yes the first condition should be <.
Works likes a charm.

Thanks very much,

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top