corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Microsoft Excel


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Microsoft Excel
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
17th Apr 08 at 21:59   View User's Profile U2U Member Reply With Quote

It's been a few years since i used excel, and i have done part of the calculation i want to do correctly, just cannot grasp it all

Here it is, i want a cell to calculate a sum using an IF function

IF Cell O5 is Yes, G5*K5

IF Cell O5 is No, 0

Has anyone use excel regularly and can remember the whole of the if fucntion
Robbo
Member

Registered: 6th Aug 02
Location: London
User status: Offline
17th Apr 08 at 22:12   View User's Profile U2U Member Reply With Quote

=if(O5=Yes,"G5*K5","0")
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
17th Apr 08 at 22:16   View User's Profile U2U Member Reply With Quote

That's what i had robbo, but it comes back with #Name?

I think i'll have it sorted if i can change it from searching for TRUE/FALSE to YES/NO
Robbo
Member

Registered: 6th Aug 02
Location: London
User status: Offline
17th Apr 08 at 22:16   View User's Profile U2U Member Reply With Quote

That should work so summat must be up... is the Yes derived from a formula?
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
17th Apr 08 at 22:20   View User's Profile U2U Member Reply With Quote

No mate just Yes typed in

I should be able to do it, i think what's causing the problem is the second = in the formula
Robbo
Member

Registered: 6th Aug 02
Location: London
User status: Offline
17th Apr 08 at 22:22   View User's Profile U2U Member Reply With Quote

Deffo should just be =IF(O5=Yes,"G5*K5","0")

Check all the derivitives etc
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
17th Apr 08 at 22:27   View User's Profile U2U Member Reply With Quote

I have just gone through and deleted all merged cells and inputted again using the above, still shows the name

The formula is now

=IF(H6=yes,"D6*F6","0") but still no luck
Robbo
Member

Registered: 6th Aug 02
Location: London
User status: Offline
17th Apr 08 at 22:29   View User's Profile U2U Member Reply With Quote

u used the forumla box?
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
17th Apr 08 at 22:29   View User's Profile U2U Member Reply With Quote

If i make the formula what is below, and change the Yes/No for True/False it works, it just won't work with Yes No for some reason, is there a way in which i can convert the True to Yes so it will work, makes it easier for my task


=IF(H6,D6*F6,0)
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
17th Apr 08 at 22:30   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Robbo
u used the forumla box?


Yeah mate, i know excel and used it quite alot up until 3 years ago, all a little vague now but i know that much
Robbo
Member

Registered: 6th Aug 02
Location: London
User status: Offline
17th Apr 08 at 22:31   View User's Profile U2U Member Reply With Quote

lol, just makes it a bit easier
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
17th Apr 08 at 22:34   View User's Profile U2U Member Reply With Quote

I guess i can do this using VLOOKUP although it will be a little complicated but that should solve the Yes No problem
Robbo
Member

Registered: 6th Aug 02
Location: London
User status: Offline
17th Apr 08 at 22:36   View User's Profile U2U Member Reply With Quote

Possily

cant undertsand why the yes no bit doesnt work... i use simple yes/no ifs daily to clear stuff and never had any problems :S
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
17th Apr 08 at 22:38   View User's Profile U2U Member Reply With Quote

Yeah, i thought it would be simple but must be something going wrong somewhere
blebo
Member

Registered: 18th Apr 02
User status: Offline
18th Apr 08 at 08:36   View User's Profile U2U Member Reply With Quote

The Yes in the formula needs to be "Yes".

It needs the quotes to show it is a text string.
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
18th Apr 08 at 14:51   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by blebo
The Yes in the formula needs to be "Yes".

It needs the quotes to show it is a text string.


Thanks, something i should have remembered to be honest
strick206
Member

Registered: 12th Apr 07
Location: Wigan Drives:Integra DC5
User status: Offline
18th Apr 08 at 16:26   View User's Profile U2U Member Reply With Quote

One more thing, as it's going to be a spreadsheet with a lot of data inputted, how do i make the formula that is copied down show nothing if no data is entered into the first field

=IF(G4="1st","Yes","No")

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Help needed again ...Trotty can you help Red_Corsa Geek Day 17 1680
21st Mar 03 at 00:15
by Red_Corsa
 
Microsoft excel I.T/experts- help please DangerousDave16v General Chat 0 901
11th May 04 at 09:32
by DangerousDave16v
 
is there a program that...... chris_uk Geek Day 6 1906
16th Jun 05 at 00:47
by Dan B
 
Microsoft Excel Kathryn W Geek Day 7 1280
3rd Aug 07 at 12:12
by RyanSxi
 
i need excel but have lost it since new windows Jas Geek Day 4 759
8th Mar 08 at 12:07
by Jas
 

Corsa Sport » Message Board » Off Day » Geek Day » Microsoft Excel 29 database queries in 0.0130761 seconds