ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   HELP (https://www.excelbanter.com/excel-worksheet-functions/144627-help.html)

JohnG

HELP
 
I have a spreadsheet set up for GPA but how do I enter a null value? I have
the formula set up as (which shows in F26)

=LOOKUP(D26,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,.7,0})*E 26

now if the value in D27 is empty how do I show a null value in F27

Rick Rothstein \(MVP - VB\)

HELP
 
I have a spreadsheet set up for GPA but how do I enter a null value? I
have
the formula set up as (which shows in F26)

=LOOKUP(D26,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,.7,0})*E 26

now if the value in D27 is empty how do I show a null value in F27


Could you do your formula this way?

=IF(ISBLANK(D26),"",LOOKUP(D26,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,0.7,0})* E26)

Rick


Peo Sjoblom

HELP
 
That will work if D26 is truly empty but if D26 has a formula and a null
string like "" then it won't work, then one might want to use

=IF(D26="","",LOOKUP(D26,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,0.7,0})* E26)

which will work in both cases


--
Regards,

Peo Sjoblom

"Rick Rothstein (MVP - VB)" wrote in
message ...
I have a spreadsheet set up for GPA but how do I enter a null value? I
have
the formula set up as (which shows in F26)

=LOOKUP(D26,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,.7,0})*E 26

now if the value in D27 is empty how do I show a null value in F27


Could you do your formula this way?

=IF(ISBLANK(D26),"",LOOKUP(D26,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,0.7,0})* E26)

Rick




Rick Rothstein \(MVP - VB\)

HELP
 
Thanks for following that up... much appreciated.

Rick


"Peo Sjoblom" wrote in message
...
That will work if D26 is truly empty but if D26 has a formula and a null
string like "" then it won't work, then one might want to use

=IF(D26="","",LOOKUP(D26,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,0.7,0})* E26)

which will work in both cases


--
Regards,

Peo Sjoblom

"Rick Rothstein (MVP - VB)" wrote in
message ...
I have a spreadsheet set up for GPA but how do I enter a null value? I
have
the formula set up as (which shows in F26)

=LOOKUP(D26,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,.7,0})*E 26

now if the value in D27 is empty how do I show a null value in F27


Could you do your formula this way?

=IF(ISBLANK(D26),"",LOOKUP(D26,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,0.7,0})* E26)

Rick






All times are GMT +1. The time now is 09:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com