Hello,
How can I replace this formula?
=IF(B14<5,0,IF(B14<10,5%,IF(B14<12,6%,IF(B14<15,7%,IF(B14>=15,10%)))))
Hello,
How can I replace this formula?
=IF(B14<5,0,IF(B14<10,5%,IF(B14<12,6%,IF(B14<15,7%,IF(B14>=15,10%)))))
Select the cell the formula is in and type something else.
That's a true and complete answer to your exact question.
IOW, We need more information.
I expect the student to do their homework and find all the errrors I leeve in.
Please take the time to read the Forum FAQ
iterate thru the rows looking for that formula using VBA....
if sheets(0).Cells(0,0).Formula = "=IF(B14<5,0,IF(B14<10,5%,IF(B14<12,6%,IF(B14<15,7%,IF(B14>=15,10%))))) " then
sheets(0).Cells(0,0).Formula = "new formula goes here"
end if
Try:
=LOOKUP(B14,{4,9,11,14,15;0,5,6,7,10})
it really depends on what you are trying to lookup -and how - and how large your dataset is
you may adopt the formula posted by amontes;=LOOKUP(B14,{0,5,10,12,15;0,0.05,0.06,0.07,0.1})
PLS DO NOT PM; OPEN A THREAD INSTEAD!!!
1) Posting Code
[CODE]PasteYourCodeHere[/CODE]
(or paste your code, select it, click # button)
2) Uploading File(s)
Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.
3) Testing the Codes
always back up your files before testing the codes.
4) Marking the Thread as Solved
from Thread Tools (on the top right corner, above the first message)
Glad you liked it. I wasn't sure you would see the humor.
Thank you, that's what we needI was interested in a formula equivalent to the one I wrote.
I expect the student to do their homework and find all the errrors I leeve in.
Please take the time to read the Forum FAQ
Thank mancubus and amontes.