Mobile Devices: Lite Theme Citroën: Citroën Trader | Saxo Trader | C2 Trader Peugeot: Peugeot Trader | 106 Trader Enthusiast: Saxperience


Go Back   Saxperience - Citroen Saxo Forum > Other... > Gaming, IT, Multimedia & Music

Gaming, IT, Multimedia & Music Please use this forum to discuss Gaming, IT, Multimedia & Music.

Reply
 
Thread Tools Display Modes
Old 10th March 2009, 20:38   #1
jus_tin
Frequent Poster
 
jus_tin's Avatar
 
Join Date: May 2007
Location: Cradley Heath
Posts: 912
Car(s): Mk 1 VTR
iTrader Score: 1 (100%)
jus_tin has a spectacular aura aboutjus_tin has a spectacular aura about
Default Any Excel wizards out there???

Basically need a formula that will leave a cell blank if theres is no data entered in the cell its looking at.

I have an 'IF' statement that works out a simple 'YES' or 'NO' answer, but if the cell is empty which it looks at it leaves 'YES' in the cell. This is my formula:
=IF(J10<1000,"YES","NO")
jus_tin is offline   Reply With Quote
Old 10th March 2009, 21:41   #2
bpm
Established Member
Central South Region MemberEast Anglia Region Member
 
bpm's Avatar
 
Join Date: Dec 2008
Location: Hemel Hempstead
Posts: 1,013
Car(s): Citroen Saxo 16v 1.6 VTS '99 (Pearlescent Blue/Red
bpm is on a distinguished road
Default

=IF(J10=0,,IF(J10<1000,"YES","NO"))

Will give a 0 in the cell if J10 is blank, though you can enter something between the 2 commas if you want something else to appear there. Its a nested if function.
__________________
IF is a two letter word for futility
bpm is offline   Reply With Quote
The Following User Says Thank You to bpm For This Useful Post:
Old 11th March 2009, 08:00   #3
Alexp
Central South
Track / Motorsport Prep

Central South Region MemberSouth East Region Member
 
Alex's Avatar
 
Join Date: Jun 2006
Location: East Sussex
Posts: 3,105
Blog Entries: 9
Car(s): VTS :)
iTrader Score: 17 (100%)
Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!
Default

=if(j10 <> "", if(j10<1000,"yes","no"),"")
__________________
Can I be your car fwrend??
Alex is offline   Reply With Quote
The Following User Says Thank You to Alex For This Useful Post:
Old 11th March 2009, 08:33   #4
jus_tin
Frequent Poster
 
jus_tin's Avatar
 
Join Date: May 2007
Location: Cradley Heath
Posts: 912
Car(s): Mk 1 VTR
iTrader Score: 1 (100%)
jus_tin has a spectacular aura aboutjus_tin has a spectacular aura about
Default

cheers guys... i'll give them a go later!
jus_tin is offline   Reply With Quote
Old 11th March 2009, 17:03   #5
Stickyjam
Established Member
 
Stickyjam's Avatar
 
Join Date: Sep 2008
Posts: 1,390
Stickyjam is a name known to allStickyjam is a name known to allStickyjam is a name known to allStickyjam is a name known to allStickyjam is a name known to allStickyjam is a name known to all
Default

yeh the blank bit should be made up of the "" bit because between the quotes its blank...
Stickyjam is offline   Reply With Quote
Old 11th March 2009, 20:44   #6
jus_tin
Frequent Poster
 
jus_tin's Avatar
 
Join Date: May 2007
Location: Cradley Heath
Posts: 912
Car(s): Mk 1 VTR
iTrader Score: 1 (100%)
jus_tin has a spectacular aura aboutjus_tin has a spectacular aura about
Default

great... the formula works!!! alex i used yours but was wondering could you giv me a brief explanation on how the formula works?
jus_tin is offline   Reply With Quote
Old 11th March 2009, 21:26   #7
gd16
Frequent Poster
Scotland Region Member
 
gd16's Avatar
 
Join Date: Nov 2003
Location: Tayside
Posts: 893
Car(s): S/c VT!?
iTrader Score: 6 (100%)
gd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud of
Default

Quote:
Originally Posted by Alex View Post
=if(j10 <> "", if(j10<1000,"yes","no"),"")
Quote:
great... the formula works!!! alex i used yours but was wondering could you giv me a brief explanation on how the formula works?

Code:
IF
   J10 is not equal to ""
     IF
        J10 is less than 1000, show "yes"
     ELSE
        show "no"
     END IF
ELSE
   show ""
END IF
Everything within the "s is classed as text. So "" is blank/no text. "yes" really just shows yes without the "s
__________________
141bhp @ wheels
1.6 8V VTR
Project Thread
gd16 is offline   Reply With Quote
Old 12th March 2009, 20:23   #8
jus_tin
Frequent Poster
 
jus_tin's Avatar
 
Join Date: May 2007
Location: Cradley Heath
Posts: 912
Car(s): Mk 1 VTR
iTrader Score: 1 (100%)
jus_tin has a spectacular aura aboutjus_tin has a spectacular aura about
Default

Quote:
Originally Posted by gd16 View Post
Code:
IF
   J10 is not equal to ""
     IF
        J10 is less than 1000, show "yes"
     ELSE
        show "no"
     END IF
ELSE
   show ""
END IF
Everything within the "s is classed as text. So "" is blank/no text. "yes" really just shows yes without the "s
fuk man... mind bending or what... just cant get the logic, but thanks anyway! more practice i think :-(
jus_tin is offline   Reply With Quote
Old 13th March 2009, 07:52   #9
Alexp
Central South
Track / Motorsport Prep

Central South Region MemberSouth East Region Member
 
Alex's Avatar
 
Join Date: Jun 2006
Location: East Sussex
Posts: 3,105
Blog Entries: 9
Car(s): VTS :)
iTrader Score: 17 (100%)
Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!Alex is absolutely fabulous!
Default

which bit don't you understand?
__________________
Can I be your car fwrend??
Alex is offline   Reply With Quote
Old 13th March 2009, 13:16   #10
gd16
Frequent Poster
Scotland Region Member
 
gd16's Avatar
 
Join Date: Nov 2003
Location: Tayside
Posts: 893
Car(s): S/c VT!?
iTrader Score: 6 (100%)
gd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud of
Default

Just a nested IF statement. One IF statement inside of another.

Even spaced it out neatly to make it easier to follow.
__________________
141bhp @ wheels
1.6 8V VTR
Project Thread
gd16 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 13:01.