IF and ISODD Formula Help

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

Guest

First time posting a question...

B1 = input
B2 = input
Formula that is returning a #NAME? error is:
=IF(B1<5,B1*12,IF(ISODD(B1),(((B1-4-1)/2)+4)*12,(((B1-4)/2)+4)*12))

This formula works fine if B1<5, its when that first IF is false where the
problem arises.

The result I expect would be is, if B1 = 21 and B2 =12, I expect the formula
to return a value of 144. Any help/suggestions would be appreciated.
 
You need to install Analysis ToolPak, ISODD is part of ATP,
keep the office/excel cd handy, click tools>add-inns, select
Analysis ToolPak and follow the instructions
If you don't have access to a CD use IF(MOD(B1,2)=1 instead of IF(ISODD(B1)


Regards,

Peo Sjoblom
 
Peo,
That fixed it!!! Thanks!

Peo Sjoblom said:
You need to install Analysis ToolPak, ISODD is part of ATP,
keep the office/excel cd handy, click tools>add-inns, select
Analysis ToolPak and follow the instructions
If you don't have access to a CD use IF(MOD(B1,2)=1 instead of IF(ISODD(B1)


Regards,

Peo Sjoblom
 

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